From 67f62e276b661b27dd2c469bf0568b60cba0229d Mon Sep 17 00:00:00 2001 From: David Schleef Date: Thu, 14 Oct 2004 23:19:58 +0000 Subject: 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 --- ext/swfdec/gstswfdec.h | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) (limited to 'ext/swfdec/gstswfdec.h') 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 #include +#include -#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__ */ -- cgit v1.2.1