summaryrefslogtreecommitdiffstats
path: root/ext/sdl
diff options
context:
space:
mode:
Diffstat (limited to 'ext/sdl')
-rw-r--r--ext/sdl/sdlvideosink.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/ext/sdl/sdlvideosink.h b/ext/sdl/sdlvideosink.h
index 5c42abc4..ad682385 100644
--- a/ext/sdl/sdlvideosink.h
+++ b/ext/sdl/sdlvideosink.h
@@ -25,6 +25,7 @@
#include <SDL.h>
G_BEGIN_DECLS
+
#define GST_TYPE_SDLVIDEOSINK \
(gst_sdlvideosink_get_type())
#define GST_SDLVIDEOSINK(obj) \
@@ -35,9 +36,9 @@ G_BEGIN_DECLS
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_SDLVIDEOSINK))
#define GST_IS_SDLVIDEOSINK_CLASS(obj) \
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_SDLVIDEOSINK))
- typedef enum
-{
- GST_SDLVIDEOSINK_OPEN = GST_ELEMENT_FLAG_LAST,
+
+typedef enum {
+ GST_SDLVIDEOSINK_OPEN = GST_ELEMENT_FLAG_LAST,
GST_SDLVIDEOSINK_FLAG_LAST = GST_ELEMENT_FLAG_LAST + 2,
} GstSDLVideoSinkFlags;
@@ -45,12 +46,11 @@ G_BEGIN_DECLS
typedef struct _GstSDLVideoSink GstSDLVideoSink;
typedef struct _GstSDLVideoSinkClass GstSDLVideoSinkClass;
-struct _GstSDLVideoSink
-{
+struct _GstSDLVideoSink {
GstVideoSink videosink;
guint32 format;
- gint width, height; /* the size of the incoming YUV stream */
+ gint width, height; /* the size of the incoming YUV stream */
unsigned long xwindow_id;
gboolean init;
@@ -62,13 +62,13 @@ struct _GstSDLVideoSink
GMutex *lock;
};
-struct _GstSDLVideoSinkClass
-{
+struct _GstSDLVideoSinkClass {
GstVideoSinkClass parent_class;
};
-GType gst_sdlsink_get_type (void);
+GType gst_sdlsink_get_type(void);
G_END_DECLS
+
#endif /* __GST_SDLVIDEOSINK_H__ */