mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2026-06-14 14:37:18 +02:00
Setting code formatting standard to allman.
This commit is contained in:
@@ -15,36 +15,36 @@ extern "C"
|
||||
class GStreamerVideo : public IVideo
|
||||
{
|
||||
public:
|
||||
GStreamerVideo();
|
||||
~GStreamerVideo();
|
||||
bool Initialize();
|
||||
bool Play(std::string file);
|
||||
bool Stop();
|
||||
bool DeInitialize();
|
||||
SDL_Texture *GetTexture() const;
|
||||
void Update(float dt);
|
||||
void Draw();
|
||||
void SetNumLoops(int n);
|
||||
void FreeElements();
|
||||
GStreamerVideo();
|
||||
~GStreamerVideo();
|
||||
bool Initialize();
|
||||
bool Play(std::string file);
|
||||
bool Stop();
|
||||
bool DeInitialize();
|
||||
SDL_Texture *GetTexture() const;
|
||||
void Update(float dt);
|
||||
void Draw();
|
||||
void SetNumLoops(int n);
|
||||
void FreeElements();
|
||||
|
||||
private:
|
||||
static void ProcessNewBuffer (GstElement *fakesink, GstBuffer *buf, GstPad *pad, gpointer data);
|
||||
static gboolean BusCallback(GstBus *bus, GstMessage *msg, gpointer data);
|
||||
static void ProcessNewBuffer (GstElement *fakesink, GstBuffer *buf, GstPad *pad, gpointer data);
|
||||
static gboolean BusCallback(GstBus *bus, GstMessage *msg, gpointer data);
|
||||
|
||||
GstElement *Playbin;
|
||||
GstElement *VideoBin;
|
||||
GstElement *VideoSink;
|
||||
GstElement *VideoConvert;
|
||||
GstCaps *VideoConvertCaps;
|
||||
GstBus *VideoBus;
|
||||
SDL_Texture* Texture;
|
||||
gint Height;
|
||||
gint Width;
|
||||
char *VideoBuffer;
|
||||
bool FrameReady;
|
||||
bool IsPlaying;
|
||||
static bool Initialized;
|
||||
int PlayCount;
|
||||
std::string CurrentFile;
|
||||
int NumLoops;
|
||||
GstElement *Playbin;
|
||||
GstElement *VideoBin;
|
||||
GstElement *VideoSink;
|
||||
GstElement *VideoConvert;
|
||||
GstCaps *VideoConvertCaps;
|
||||
GstBus *VideoBus;
|
||||
SDL_Texture* Texture;
|
||||
gint Height;
|
||||
gint Width;
|
||||
char *VideoBuffer;
|
||||
bool FrameReady;
|
||||
bool IsPlaying;
|
||||
static bool Initialized;
|
||||
int PlayCount;
|
||||
std::string CurrentFile;
|
||||
int NumLoops;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user