summaryrefslogtreecommitdiffstats
path: root/gst/mpeg2sub/gstmpeg2subt.h
diff options
context:
space:
mode:
Diffstat (limited to 'gst/mpeg2sub/gstmpeg2subt.h')
-rw-r--r--gst/mpeg2sub/gstmpeg2subt.h49
1 files changed, 23 insertions, 26 deletions
diff --git a/gst/mpeg2sub/gstmpeg2subt.h b/gst/mpeg2sub/gstmpeg2subt.h
index 5cde7058..29f60b27 100644
--- a/gst/mpeg2sub/gstmpeg2subt.h
+++ b/gst/mpeg2sub/gstmpeg2subt.h
@@ -26,9 +26,8 @@
#ifdef __cplusplus
-extern "C"
-{
-#endif /* __cplusplus */
+extern "C" {
+#endif /* __cplusplus */
#define GST_TYPE_MPEG2SUBT \
@@ -42,43 +41,41 @@ extern "C"
#define GST_IS_MPEG2SUBT_CLASS(obj) \
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_MPEG2SUBT))
- typedef struct _GstMpeg2Subt GstMpeg2Subt;
- typedef struct _GstMpeg2SubtClass GstMpeg2SubtClass;
+typedef struct _GstMpeg2Subt GstMpeg2Subt;
+typedef struct _GstMpeg2SubtClass GstMpeg2SubtClass;
- struct _GstMpeg2Subt
- {
- GstElement element;
+struct _GstMpeg2Subt {
+ GstElement element;
- GstPad *videopad, *subtitlepad, *srcpad;
+ GstPad *videopad,*subtitlepad,*srcpad;
- GstBuffer *partialbuf; /* previous buffer (if carryover) */
+ GstBuffer *partialbuf; /* previous buffer (if carryover) */
- gboolean have_title;
+ gboolean have_title;
- guint16 packet_size;
- guint16 data_size;
+ guint16 packet_size;
+ guint16 data_size;
- gint offset[2];
- guchar color[5];
- guchar trans[4];
+ gint offset[2];
+ guchar color[5];
+ guchar trans[4];
- guint duration;
+ guint duration;
- gint width, height;
+ gint width, height;
- };
+};
- struct _GstMpeg2SubtClass
- {
- GstElementClass parent_class;
- };
+struct _GstMpeg2SubtClass {
+ GstElementClass parent_class;
+};
- GType gst_mpeg2subt_get_type (void);
+GType gst_mpeg2subt_get_type(void);
#ifdef __cplusplus
}
-#endif /* __cplusplus */
+#endif /* __cplusplus */
-#endif /* __GST_MPEG2SUBT_H__ */
+#endif /* __GST_MPEG2SUBT_H__ */