summaryrefslogtreecommitdiffstats
path: root/gst/y4m/gsty4mencode.h
diff options
context:
space:
mode:
Diffstat (limited to 'gst/y4m/gsty4mencode.h')
-rw-r--r--gst/y4m/gsty4mencode.h37
1 files changed, 20 insertions, 17 deletions
diff --git a/gst/y4m/gsty4mencode.h b/gst/y4m/gsty4mencode.h
index 07d369cc..607b3e6d 100644
--- a/gst/y4m/gsty4mencode.h
+++ b/gst/y4m/gsty4mencode.h
@@ -27,8 +27,9 @@
#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+extern "C"
+{
+#endif /* __cplusplus */
#define GST_TYPE_Y4MENCODE \
@@ -42,30 +43,32 @@ extern "C" {
#define GST_IS_Y4MENCODE_CLASS(obj) \
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_Y4MENCODE))
-typedef struct _GstY4mEncode GstY4mEncode;
-typedef struct _GstY4mEncodeClass GstY4mEncodeClass;
+ typedef struct _GstY4mEncode GstY4mEncode;
+ typedef struct _GstY4mEncodeClass GstY4mEncodeClass;
-struct _GstY4mEncode {
- GstElement element;
+ struct _GstY4mEncode
+ {
+ GstElement element;
- GstPad *sinkpad,*srcpad;
+ GstPad *sinkpad, *srcpad;
- gint width, height;
- gfloat fps_idx;
+ gint width, height;
+ gfloat fps_idx;
- gboolean init;
+ gboolean init;
-};
+ };
-struct _GstY4mEncodeClass {
- GstElementClass parent_class;
-};
+ struct _GstY4mEncodeClass
+ {
+ GstElementClass parent_class;
+ };
-GType gst_y4mencode_get_type(void);
+ GType gst_y4mencode_get_type (void);
#ifdef __cplusplus
}
-#endif /* __cplusplus */
+#endif /* __cplusplus */
-#endif /* __GST_Y4MENCODE_H__ */
+#endif /* __GST_Y4MENCODE_H__ */