diff options
author | David Schleef <ds@schleef.org> | 2004-10-14 23:19:58 +0000 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2004-10-14 23:19:58 +0000 |
commit | 67f62e276b661b27dd2c469bf0568b60cba0229d (patch) | |
tree | cd44f864b6b46c15eb7f8e3bd1f58cecc93df091 /ext/swfdec/gstswfdec.h | |
parent | 2535094346710fda968608c4ddce2b372213baca (diff) | |
download | gst-plugins-bad-67f62e276b661b27dd2c469bf0568b60cba0229d.tar.gz gst-plugins-bad-67f62e276b661b27dd2c469bf0568b60cba0229d.tar.bz2 gst-plugins-bad-67f62e276b661b27dd2c469bf0568b60cba0229d.zip |
configure.ac: update for swfdec-0.3 and liboil-0.2
Original commit message from CVS:
* configure.ac: update for swfdec-0.3 and liboil-0.2
* ext/swfdec/gstswfdec.c: update for swfdec-0.3
* ext/swfdec/gstswfdec.h: same
* gst/videofilter/gstvideobalance.c: update for liboil-0.2
* gst/videotestsrc/videotestsrc.c: same
Diffstat (limited to 'ext/swfdec/gstswfdec.h')
-rw-r--r-- | ext/swfdec/gstswfdec.h | 26 |
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__ */ |