Setting code formatting standard to allman.

This commit is contained in:
emb
2015-01-01 14:08:42 -06:00
parent 174ea4f4f9
commit 6410139f87
76 changed files with 5352 additions and 5314 deletions

View File

@@ -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;
};