expand tabs

Original commit message from CVS:
expand tabs
parent f2085bd7
2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
* ext/aalib/gstaasink.h:
* ext/cairo/gsttextoverlay.h:
* ext/dv/gstdvdec.h:
* ext/dv/gstdvdemux.c:
* ext/dv/gstdvdemux.h:
* ext/esd/esdsink.h:
* ext/flac/flac_compat.h:
* ext/flac/gstflacdec.h:
* ext/flac/gstflacenc.h:
* ext/gconf/gconf.h:
* ext/gconf/gstgconfaudiosink.h:
* ext/gconf/gstgconfvideosink.h:
* ext/gdk_pixbuf/gstgdkanimation.h:
* ext/jpeg/gstjpegdec.h:
* ext/jpeg/smokecodec.h:
* ext/jpeg/smokeformat.h:
* ext/ladspa/gstsignalprocessor.h:
* ext/ladspa/search.c: (LADSPAPluginSearch):
* ext/ladspa/utils.h:
* ext/libmng/gstmng.c:
* ext/libmng/gstmngdec.h:
* ext/libmng/gstmngenc.c:
* ext/libmng/gstmngenc.h:
* ext/libpng/gstpng.c:
* ext/libpng/gstpngenc.c:
* ext/libpng/gstpngenc.h:
* ext/shout2/gstshout2.h:
* ext/speex/gstspeexdec.h:
* ext/speex/gstspeexenc.c:
* ext/speex/gstspeexenc.h:
* gst/auparse/gstauparse.c: (gst_auparse_chain):
* gst/autodetect/gstautoaudiosink.h:
* gst/autodetect/gstautovideosink.h:
* gst/avi/gstavidemux.h:
* gst/cutter/gstcutter.c: (gst_cutter_chain),
(gst_cutter_set_property), (gst_cutter_get_caps):
* gst/cutter/gstcutter.h:
* gst/debug/tests.c: (md5_process_block):
* gst/debug/tests.h:
* gst/effectv/gstwarp.c:
* gst/flx/flx_fmt.h:
* gst/flx/gstflxdec.h:
* gst/goom/filters.c: (setPixelRGB), (getPixelRGB), (getPixelRGB_),
(zoomFilterFastRGB):
* gst/goom/filters.h:
* gst/goom/goom_tools.h:
* gst/law/alaw-encode.c:
* gst/level/gstlevel.c:
* gst/level/gstlevel.h:
* gst/matroska/ebml-write.h:
* gst/matroska/matroska-demux.h:
* gst/matroska/matroska-ids.h:
* gst/matroska/matroska-mux.h:
* gst/monoscope/convolve.c: (convolve_match):
* gst/monoscope/convolve.h:
* gst/multipart/multipartmux.c:
* gst/oldcore/gstaggregator.c:
* gst/oldcore/gstaggregator.h:
* gst/oldcore/gstmd5sink.c: (md5_process_block):
* gst/oldcore/gstmd5sink.h:
* gst/oldcore/gstmultifilesrc.c:
* gst/oldcore/gstmultifilesrc.h:
* gst/oldcore/gstpipefilter.h:
* gst/oldcore/gstshaper.h:
* gst/rtp/gstrtpL16depay.h:
* gst/rtp/gstrtpL16pay.h:
* gst/rtp/gstrtpdepay.h:
* gst/rtp/gstrtpmp4vpay.c:
* gst/rtp/gstrtpmp4vpay.h:
* gst/rtsp/gstrtspsrc.c:
* gst/rtsp/gstrtspsrc.h:
* gst/rtsp/rtspconnection.h:
* gst/rtsp/rtspdefs.h:
* gst/rtsp/rtspmessage.h:
* gst/rtsp/rtsptransport.h:
* gst/rtsp/rtspurl.c:
* gst/rtsp/rtspurl.h:
* gst/rtsp/sdpmessage.c:
* gst/rtsp/sdpmessage.h:
* gst/smpte/barboxwipes.c:
* gst/smpte/gstmask.h:
* gst/smpte/gstsmpte.h:
* gst/smpte/paint.c:
* gst/smpte/paint.h:
* gst/udp/gstdynudpsink.h:
* gst/udp/gstmultiudpsink.h:
* gst/udp/gstudpsink.c:
* gst/udp/gstudpsink.h:
* gst/udp/gstudpsrc.c:
* gst/videomixer/videomixer.c:
* gst/wavenc/riff.h:
* gst/wavparse/gstwavparse.h:
* sys/oss/gstossdmabuffer.h:
* sys/oss/gstossmixer.h:
* sys/oss/gstossmixerelement.h:
* sys/oss/gstossmixertrack.h:
* sys/oss/gstosssink.c:
* sys/oss/gstosssink.h:
* sys/oss/gstosssrc.c:
* sys/oss/gstosssrc.h:
* sys/osxaudio/gstosxaudioelement.h:
* sys/osxaudio/gstosxaudiosink.h:
* sys/osxaudio/gstosxaudiosrc.h:
expand tabs
=== release 0.10.0 === === release 0.10.0 ===
2005-12-05 <thomas (at) apestaart (dot) org> 2005-12-05 <thomas (at) apestaart (dot) org>
......
...@@ -66,7 +66,7 @@ struct _GstAASinkClass { ...@@ -66,7 +66,7 @@ struct _GstAASinkClass {
/* signals */ /* signals */
void (*frame_displayed) (GstElement *element); void (*frame_displayed) (GstElement *element);
void (*have_size) (GstElement *element, guint width, guint height); void (*have_size) (GstElement *element, guint width, guint height);
}; };
GType gst_aasink_get_type(void); GType gst_aasink_get_type(void);
......
...@@ -60,8 +60,8 @@ struct _GstCairoTextOverlay { ...@@ -60,8 +60,8 @@ struct _GstCairoTextOverlay {
gint ypad; gint ypad;
gint deltax; gint deltax;
gint deltay; gint deltay;
gchar *default_text; gchar *default_text;
gboolean want_shading; gboolean want_shading;
guchar *text_fill_image; guchar *text_fill_image;
guchar *text_outline_image; guchar *text_outline_image;
...@@ -69,7 +69,7 @@ struct _GstCairoTextOverlay { ...@@ -69,7 +69,7 @@ struct _GstCairoTextOverlay {
gint text_x0, text_x1; /* start/end x position of text */ gint text_x0, text_x1; /* start/end x position of text */
gint text_dy; gint text_dy;
gboolean need_render; gboolean need_render;
gchar *font; gchar *font;
gint slant; gint slant;
......
...@@ -46,29 +46,29 @@ typedef struct _GstDVDecClass GstDVDecClass; ...@@ -46,29 +46,29 @@ typedef struct _GstDVDecClass GstDVDecClass;
struct _GstDVDec { struct _GstDVDec {
GstElement element; GstElement element;
GstPad *sinkpad; GstPad *sinkpad;
GstPad *srcpad; GstPad *srcpad;
dv_decoder_t *decoder; dv_decoder_t *decoder;
gboolean clamp_luma; gboolean clamp_luma;
gboolean clamp_chroma; gboolean clamp_chroma;
gint quality; gint quality;
gint frame_len; gint frame_len;
gboolean PAL; gboolean PAL;
gint framerate_numerator; gint framerate_numerator;
gint framerate_denominator; gint framerate_denominator;
gint height; gint height;
gboolean wide; gboolean wide;
/* negotiated output */ /* negotiated output */
dv_color_space_t space; dv_color_space_t space;
gint bpp; gint bpp;
gint video_offset; gint video_offset;
gint drop_factor; gint drop_factor;
gboolean headers_seen; gboolean headers_seen;
}; };
......
...@@ -74,15 +74,15 @@ ...@@ -74,15 +74,15 @@
#define PAL_FRAMERATE_NUMERATOR 25 #define PAL_FRAMERATE_NUMERATOR 25
#define PAL_FRAMERATE_DENOMINATOR 1 #define PAL_FRAMERATE_DENOMINATOR 1
#define PAL_NORMAL_PAR_X 59 #define PAL_NORMAL_PAR_X 59
#define PAL_NORMAL_PAR_Y 54 #define PAL_NORMAL_PAR_Y 54
#define PAL_WIDE_PAR_X 118 #define PAL_WIDE_PAR_X 118
#define PAL_WIDE_PAR_Y 81 #define PAL_WIDE_PAR_Y 81
#define NTSC_NORMAL_PAR_X 10 #define NTSC_NORMAL_PAR_X 10
#define NTSC_NORMAL_PAR_Y 11 #define NTSC_NORMAL_PAR_Y 11
#define NTSC_WIDE_PAR_X 40 #define NTSC_WIDE_PAR_X 40
#define NTSC_WIDE_PAR_Y 33 #define NTSC_WIDE_PAR_Y 33
static GstElementDetails dvdemux_details = static GstElementDetails dvdemux_details =
GST_ELEMENT_DETAILS ("DV system stream demuxer", GST_ELEMENT_DETAILS ("DV system stream demuxer",
......
...@@ -47,47 +47,47 @@ typedef struct _GstDVDemuxClass GstDVDemuxClass; ...@@ -47,47 +47,47 @@ typedef struct _GstDVDemuxClass GstDVDemuxClass;
struct _GstDVDemux { struct _GstDVDemux {
GstElement element; GstElement element;
GstPad *sinkpad; GstPad *sinkpad;
GstPad *videosrcpad; GstPad *videosrcpad;
GstPad *audiosrcpad; GstPad *audiosrcpad;
dv_decoder_t *decoder; dv_decoder_t *decoder;
GstAdapter *adapter; GstAdapter *adapter;
gint frame_len; gint frame_len;
/* PAL or NTSC flag */ /* PAL or NTSC flag */
gboolean PAL; gboolean PAL;
/* video params */ /* video params */
gint framerate_numerator; gint framerate_numerator;
gint framerate_denominator; gint framerate_denominator;
gint height; gint height;
gboolean wide; gboolean wide;
/* audio params */ /* audio params */
gint frequency; gint frequency;
gint channels; gint channels;
gint framecount; gint framecount;
guint64 timestamp; guint64 timestamp;
guint64 duration; guint64 duration;
gint64 total_frames; gint64 total_frames;
guint64 audio_offset; guint64 audio_offset;
guint64 video_offset; guint64 video_offset;
gint64 start_byte; gint64 start_byte;
gint64 stop_byte; gint64 stop_byte;
gint64 start_timestamp; gint64 start_timestamp;
gint64 stop_timestamp; gint64 stop_timestamp;
gboolean need_discont; gboolean need_discont;
gboolean new_media; gboolean new_media;
gboolean found_header; gboolean found_header;
gint16 *audio_buffers[4]; gint16 *audio_buffers[4];
}; };
struct _GstDVDemuxClass { struct _GstDVDemuxClass {
......
...@@ -43,11 +43,11 @@ typedef struct _GstEsdSink GstEsdSink; ...@@ -43,11 +43,11 @@ typedef struct _GstEsdSink GstEsdSink;
typedef struct _GstEsdSinkClass GstEsdSinkClass; typedef struct _GstEsdSinkClass GstEsdSinkClass;
struct _GstEsdSink { struct _GstEsdSink {
GstAudioSink sink; GstAudioSink sink;
int fd; int fd;
int ctrl_fd; int ctrl_fd;
gchar *host; gchar *host;
}; };
struct _GstEsdSinkClass { struct _GstEsdSinkClass {
......
...@@ -32,21 +32,21 @@ ...@@ -32,21 +32,21 @@
#if FLAC_VERSION < 0x010004 #if FLAC_VERSION < 0x010004
#define FLAC__STREAM_ENCODER_OK FLAC__STREAM_ENCODER_WRITE_OK #define FLAC__STREAM_ENCODER_OK FLAC__STREAM_ENCODER_WRITE_OK
#define FLAC__seekable_stream_decoder_process_single(a) \ #define FLAC__seekable_stream_decoder_process_single(a) \
FLAC__seekable_stream_decoder_process_one_frame(a) FLAC__seekable_stream_decoder_process_one_frame(a)
#endif /* FLAC_VERSION < 0x010004 */ #endif /* FLAC_VERSION < 0x010004 */
#if FLAC_VERSION < 0x010003 #if FLAC_VERSION < 0x010003
#define FLAC__STREAM_DECODER_ERROR_STATUS_LOST_SYNC \ #define FLAC__STREAM_DECODER_ERROR_STATUS_LOST_SYNC \
FLAC__STREAM_DECODER_ERROR_LOST_SYNC FLAC__STREAM_DECODER_ERROR_LOST_SYNC
#define FLAC__STREAM_DECODER_ERROR_STATUS_BAD_HEADER \ #define FLAC__STREAM_DECODER_ERROR_STATUS_BAD_HEADER \
FLAC__STREAM_DECODER_ERROR_BAD_HEADER FLAC__STREAM_DECODER_ERROR_BAD_HEADER
#define FLAC__STREAM_DECODER_ERROR_STATUS_FRAME_CRC_MISMATCH \ #define FLAC__STREAM_DECODER_ERROR_STATUS_FRAME_CRC_MISMATCH \
FLAC__STREAM_DECODER_ERROR_FRAME_CRC_MISMATCH FLAC__STREAM_DECODER_ERROR_FRAME_CRC_MISMATCH
#define FLAC__STREAM_DECODER_WRITE_STATUS_ABORT \ #define FLAC__STREAM_DECODER_WRITE_STATUS_ABORT \
FLAC__STREAM_DECODER_WRITE_ABORT FLAC__STREAM_DECODER_WRITE_ABORT
#define FLAC__STREAM_DECODER_WRITE_STATUS_CONTINUE \ #define FLAC__STREAM_DECODER_WRITE_STATUS_CONTINUE \
FLAC__STREAM_DECODER_WRITE_CONTINUE FLAC__STREAM_DECODER_WRITE_CONTINUE
#define FLAC__StreamMetadata FLAC__StreamMetaData #define FLAC__StreamMetadata FLAC__StreamMetaData
......
...@@ -41,26 +41,26 @@ typedef struct _FlacDec FlacDec; ...@@ -41,26 +41,26 @@ typedef struct _FlacDec FlacDec;
typedef struct _FlacDecClass FlacDecClass; typedef struct _FlacDecClass FlacDecClass;
struct _FlacDec { struct _FlacDec {
GstElement element; GstElement element;
GstPad *sinkpad,*srcpad; GstPad *sinkpad,*srcpad;
guint64 offset; guint64 offset;
FLAC__SeekableStreamDecoder *decoder; FLAC__SeekableStreamDecoder *decoder;
gint channels; gint channels;
gint depth; gint depth;
gint width; gint width;
gint frequency; gint frequency;
gboolean need_discont; gboolean need_discont;
gboolean seek_pending; gboolean seek_pending;
gint64 seek_value; gint64 seek_value;
gboolean init; gboolean init;
guint64 total_samples; guint64 total_samples;
guint64 stream_samples; guint64 stream_samples;
gboolean eos; gboolean eos;
}; };
struct _FlacDecClass { struct _FlacDecClass {
......
...@@ -40,27 +40,27 @@ typedef struct _GstFlacEnc GstFlacEnc; ...@@ -40,27 +40,27 @@ typedef struct _GstFlacEnc GstFlacEnc;
typedef struct _GstFlacEncClass GstFlacEncClass; typedef struct _GstFlacEncClass GstFlacEncClass;
struct _GstFlacEnc { struct _GstFlacEnc {
GstElement element; GstElement element;
GstPad *sinkpad,*srcpad; GstPad *sinkpad,*srcpad;
gboolean first; gboolean first;
GstBuffer *first_buf; GstBuffer *first_buf;
guint64 offset; guint64 offset;
guint64 samples_written; guint64 samples_written;
gboolean eos; gboolean eos;
gint channels; gint channels;
gint depth; gint depth;
gint sample_rate; gint sample_rate;
gboolean negotiated; gboolean negotiated;
gint quality; gint quality;
gboolean stopped; gboolean stopped;
FLAC__int32 *data; FLAC__int32 *data;
FLAC__SeekableStreamEncoder *encoder; FLAC__SeekableStreamEncoder *encoder;
FLAC__StreamMetadata **meta; FLAC__StreamMetadata **meta;
GstTagList * tags; GstTagList * tags;
}; };
struct _GstFlacEncClass { struct _GstFlacEncClass {
......
...@@ -29,18 +29,18 @@ ...@@ -29,18 +29,18 @@
G_BEGIN_DECLS G_BEGIN_DECLS
gchar * gst_gconf_get_string (const gchar *key); gchar * gst_gconf_get_string (const gchar *key);
void gst_gconf_set_string (const gchar *key, void gst_gconf_set_string (const gchar *key,
const gchar *value); const gchar *value);
GstElement * gst_gconf_render_bin_from_key (const gchar *key); GstElement * gst_gconf_render_bin_from_key (const gchar *key);
GstElement * gst_gconf_render_bin_from_description (const gchar *description); GstElement * gst_gconf_render_bin_from_description (const gchar *description);
GstElement * gst_gconf_get_default_video_sink (void); GstElement * gst_gconf_get_default_video_sink (void);
GstElement * gst_gconf_get_default_audio_sink (void); GstElement * gst_gconf_get_default_audio_sink (void);
GstElement * gst_gconf_get_default_video_src (void); GstElement * gst_gconf_get_default_video_src (void);
GstElement * gst_gconf_get_default_audio_src (void); GstElement * gst_gconf_get_default_audio_src (void);
GstElement * gst_gconf_get_default_visualization_element (void); GstElement * gst_gconf_get_default_visualization_element (void);
G_END_DECLS G_END_DECLS
......
...@@ -29,10 +29,10 @@ G_BEGIN_DECLS ...@@ -29,10 +29,10 @@ G_BEGIN_DECLS
(gst_gconf_audio_sink_get_type ()) (gst_gconf_audio_sink_get_type ())
#define GST_GCONF_AUDIO_SINK(obj) \ #define GST_GCONF_AUDIO_SINK(obj) \
(G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_GCONF_AUDIO_SINK, \ (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_GCONF_AUDIO_SINK, \
GstGConfAudioSink)) GstGConfAudioSink))
#define GST_GCONF_AUDIO_SINK_CLASS(klass) \ #define GST_GCONF_AUDIO_SINK_CLASS(klass) \
(G_TYPE_CHECK_CLASS_CAST ((klass), GST_TYPE_GCONF_AUDIO_SINK, \ (G_TYPE_CHECK_CLASS_CAST ((klass), GST_TYPE_GCONF_AUDIO_SINK, \
GstGConfAudioSink)) GstGConfAudioSink))
#define GST_IS_GCONF_AUDIO_SINK(obj) \ #define GST_IS_GCONF_AUDIO_SINK(obj) \
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_GCONF_AUDIO_SINK)) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_GCONF_AUDIO_SINK))
#define GST_IS_GCONF_AUDIO_SINK_CLASS(obj) \ #define GST_IS_GCONF_AUDIO_SINK_CLASS(obj) \
...@@ -51,7 +51,7 @@ typedef struct _GstGConfAudioSinkClass { ...@@ -51,7 +51,7 @@ typedef struct _GstGConfAudioSinkClass {
GstBinClass parent_class; GstBinClass parent_class;
} GstGConfAudioSinkClass; } GstGConfAudioSinkClass;
GType gst_gconf_audio_sink_get_type (void); GType gst_gconf_audio_sink_get_type (void);
G_END_DECLS G_END_DECLS
......
...@@ -29,10 +29,10 @@ G_BEGIN_DECLS ...@@ -29,10 +29,10 @@ G_BEGIN_DECLS
(gst_gconf_video_sink_get_type ()) (gst_gconf_video_sink_get_type ())
#define GST_GCONF_VIDEO_SINK(obj) \ #define GST_GCONF_VIDEO_SINK(obj) \
(G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_GCONF_VIDEO_SINK, \ (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_GCONF_VIDEO_SINK, \
GstGConfVideoSink)) GstGConfVideoSink))
#define GST_GCONF_VIDEO_SINK_CLASS(klass) \ #define GST_GCONF_VIDEO_SINK_CLASS(klass) \
(G_TYPE_CHECK_CLASS_CAST ((klass), GST_TYPE_GCONF_VIDEO_SINK, \ (G_TYPE_CHECK_CLASS_CAST ((klass), GST_TYPE_GCONF_VIDEO_SINK, \
GstGConfVideoSink)) GstGConfVideoSink))
#define GST_IS_GCONF_VIDEO_SINK(obj) \ #define GST_IS_GCONF_VIDEO_SINK(obj) \
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_GCONF_VIDEO_SINK)) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_GCONF_VIDEO_SINK))
#define GST_IS_GCONF_VIDEO_SINK_CLASS(obj) \ #define GST_IS_GCONF_VIDEO_SINK_CLASS(obj) \
...@@ -51,7 +51,7 @@ typedef struct _GstGConfVideoSinkClass { ...@@ -51,7 +51,7 @@ typedef struct _GstGConfVideoSinkClass {
GstBinClass parent_class; GstBinClass parent_class;
} GstGConfVideoSinkClass; } GstGConfVideoSinkClass;
GType gst_gconf_video_sink_get_type (void); GType gst_gconf_video_sink_get_type (void);
G_END_DECLS G_END_DECLS
......
...@@ -34,11 +34,11 @@ G_BEGIN_DECLS ...@@ -34,11 +34,11 @@ G_BEGIN_DECLS
#define GST_GDK_MAX_DELAY_TO_SEEK (GST_SECOND / 4) #define GST_GDK_MAX_DELAY_TO_SEEK (GST_SECOND / 4)
#define GST_TYPE_GDK_ANIMATION (gst_gdk_animation_get_type()) #define GST_TYPE_GDK_ANIMATION (gst_gdk_animation_get_type())
#define GST_GDK_ANIMATION(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_GDK_ANIMATION,GstGdkAnimation)) #define GST_GDK_ANIMATION(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_GDK_ANIMATION,GstGdkAnimation))
#define GST_GDK_ANIMATION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_GDK_ANIMATION,GstGdkAnimation)) #define GST_GDK_ANIMATION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_GDK_ANIMATION,GstGdkAnimation))
#define GST_IS_GDK_ANIMATION(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_GDK_ANIMATION)) #define GST_IS_GDK_ANIMATION(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_GDK_ANIMATION))
#define GST_IS_GDK_ANIMATION_CLASS(obj) (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_GDK_ANIMATION)) #define GST_IS_GDK_ANIMATION_CLASS(obj) (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_GDK_ANIMATION))
typedef struct _GstGdkAnimation GstGdkAnimation; typedef struct _GstGdkAnimation GstGdkAnimation;
typedef struct _GstGdkAnimationClass GstGdkAnimationClass; typedef struct _GstGdkAnimationClass GstGdkAnimationClass;
...@@ -48,66 +48,66 @@ typedef struct _GstGdkAnimationIterClass GstGdkAnimationIterClass; ...@@ -48,66 +48,66 @@ typedef struct _GstGdkAnimationIterClass GstGdkAnimationIterClass;
struct _GstGdkAnimation struct _GstGdkAnimation
{ {
GdkPixbufAnimation parent; GdkPixbufAnimation parent;
/* name of temporary buffer file */ /* name of temporary buffer file */
gchar * temp_location; gchar * temp_location;
/* file descriptor to temporary file or 0 if we're done writing */ /* file descriptor to temporary file or 0 if we're done writing */
int temp_fd; int temp_fd;
/* size of image */ /* size of image */
gint width; gint width;
gint height; gint height;
gint bpp; gint bpp;
/* static image we use */ /* static image we use */
GdkPixbuf * pixbuf; GdkPixbuf * pixbuf;
}; };
struct _GstGdkAnimationClass struct _GstGdkAnimationClass
{ {
GdkPixbufAnimationClass parent_class; GdkPixbufAnimationClass parent_class;
}; };
GType gst_gdk_animation_get_type (void); GType gst_gdk_animation_get_type (void);
GstGdkAnimation * gst_gdk_animation_new (GError **error); GstGdkAnimation * gst_gdk_animation_new (GError **error);
gboolean gst_gdk_animation_add_data (GstGdkAnimation * ani, gboolean gst_gdk_animation_add_data (GstGdkAnimation * ani,
const guint8 * data, const guint8 * data,
guint size); guint size);
void gst_gdk_animation_done_adding (GstGdkAnimation * ani); void gst_gdk_animation_done_adding (GstGdkAnimation * ani);
#define GST_TYPE_GDK_ANIMATION_ITER (gst_gdk_animation_iter_get_type ()) #define GST_TYPE_GDK_ANIMATION_ITER (gst_gdk_animation_iter_get_type ())
#define GST_GDK_ANIMATION_ITER(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GST_TYPE_GDK_ANIMATION_ITER, GstGdkAnimationIter)) #define GST_GDK_ANIMATION_ITER(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GST_TYPE_GDK_ANIMATION_ITER, GstGdkAnimationIter))
#define GST_IS_GDK_ANIMATION_ITER(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GST_TYPE_GDK_ANIMATION_ITER)) #define GST_IS_GDK_ANIMATION_ITER(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GST_TYPE_GDK_ANIMATION_ITER))
#define GST_GDK_ANIMATION_ITER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GST_TYPE_GDK_ANIMATION_ITER, GstGdkAnimationIterClass)) #define GST_GDK_ANIMATION_ITER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GST_TYPE_GDK_ANIMATION_ITER, GstGdkAnimationIterClass))
#define GST_IS_GDK_ANIMATION_ITER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GST_TYPE_GDK_ANIMATION_ITER)) #define GST_IS_GDK_ANIMATION_ITER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GST_TYPE_GDK_ANIMATION_ITER))
#define GST_GDK_ANIMATION_ITER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GST_TYPE_GDK_ANIMATION_ITER, GstGdkAnimationIterClass)) #define GST_GDK_ANIMATION_ITER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GST_TYPE_GDK_ANIMATION_ITER, GstGdkAnimationIterClass))
struct _GstGdkAnimationIter { struct _GstGdkAnimationIter {
GdkPixbufAnimationIter parent; GdkPixbufAnimationIter parent;
/* our animation */ /* our animation */
GstGdkAnimation * ani; GstGdkAnimation * ani;
/* start timeval */ /* start timeval */
GTimeVal start; GTimeVal start;
/* timestamp of last buffer */ /* timestamp of last buffer */
GstClockTime last_timestamp; GstClockTime last_timestamp;
/* pipeline we're using */ /* pipeline we're using */
GstElement * pipeline; GstElement * pipeline;
gboolean eos; gboolean eos;
gboolean just_seeked; gboolean just_seeked;
/* current image and the buffers containing the data */ /* current image and the buffers containing the data */
GdkPixbuf * pixbuf; GdkPixbuf * pixbuf;
GQueue * buffers; GQueue * buffers;
}; };
struct _GstGdkAnimationIterClass { struct _GstGdkAnimationIterClass {
GdkPixbufAnimationIterClass parent_class; GdkPixbufAnimationIterClass parent_class;
}; };
GType gst_gdk_animation_iter_get_type (void) G_GNUC_CONST; GType gst_gdk_animation_iter_get_type (