summaryrefslogtreecommitdiffstats
path: root/ext/swfdec/gstswfdec.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/swfdec/gstswfdec.h')
-rw-r--r--ext/swfdec/gstswfdec.h26
1 files changed, 12 insertions, 14 deletions
diff --git a/ext/swfdec/gstswfdec.h b/ext/swfdec/gstswfdec.h
index 05015682..ea8bc59f 100644
--- a/ext/swfdec/gstswfdec.h
+++ b/ext/swfdec/gstswfdec.h
@@ -24,11 +24,9 @@
#include <gst/gst.h>
#include <swfdec.h>
+#include <swfdec_render.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
+G_BEGIN_DECLS
#define GST_TYPE_SWFDEC \
(gst_swfdec_get_type())
@@ -44,7 +42,8 @@ extern "C" {
typedef struct _GstSwfdec GstSwfdec;
typedef struct _GstSwfdecClass GstSwfdecClass;
-struct _GstSwfdec {
+struct _GstSwfdec
+{
GstElement element;
/* pads */
@@ -52,13 +51,15 @@ struct _GstSwfdec {
GstPad *videopad;
GstPad *audiopad;
- SwfdecDecoder *state;
+ SwfdecDecoder *decoder;
gboolean closed;
- /* the timestamp of the next frame */
gboolean first;
gboolean have_format;
+ gboolean send_discont;
+ int seek_frame;
+
double rate;
gint64 timestamp;
gint64 interval;
@@ -72,16 +73,13 @@ struct _GstSwfdec {
};
-struct _GstSwfdecClass {
+struct _GstSwfdecClass
+{
GstElementClass parent_class;
};
-GType gst_swfdec_get_type(void);
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+GType gst_swfdec_get_type (void);
+G_END_DECLS
#endif /* __GST_SWFDEC_H__ */