X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;ds=sidebyside;f=ext%2Fvorbis%2Fgstvorbisdec.h;h=721b666a547982c4e99fed81dec619ff84094227;hb=73b894107a1d062b2d06dbdf77bca2fafb1feef7;hp=87cabda994f163c8122b723aa302425d6cfe346a;hpb=dc9a1b945bed865e8e18cf883bcbac30c817be46;p=platform%2Fupstream%2Fgstreamer.git diff --git a/ext/vorbis/gstvorbisdec.h b/ext/vorbis/gstvorbisdec.h index 87cabda..721b666 100644 --- a/ext/vorbis/gstvorbisdec.h +++ b/ext/vorbis/gstvorbisdec.h @@ -22,9 +22,13 @@ #ifndef __GST_VORBIS_DEC_H__ #define __GST_VORBIS_DEC_H__ +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif #include -#include +#include +#include "gstvorbisdeclib.h" G_BEGIN_DECLS @@ -48,40 +52,25 @@ typedef struct _GstVorbisDecClass GstVorbisDecClass; * Opaque data structure. */ struct _GstVorbisDec { - GstElement element; - - GstPad *sinkpad; - GstPad *srcpad; + GstAudioDecoder element; vorbis_dsp_state vd; vorbis_info vi; vorbis_comment vc; +#ifndef USE_TREMOLO vorbis_block vb; - guint64 granulepos; +#endif gboolean initialized; + GstAudioInfo info; - /* list of buffers that need timestamps */ - GList *queued; - /* list of raw output buffers */ - GList *output; - /* gather/decode queues for reverse playback */ - GList *gather; - GList *decode; - - GstSegment segment; - gboolean discont; - guint32 seqnum; - - GstClockTime cur_timestamp; /* only used with non-ogg container formats */ - GstClockTime prev_timestamp; /* only used with non-ogg container formats */ - - GList *pendingevents; GstTagList *taglist; + + CopySampleFunc copy_samples; }; struct _GstVorbisDecClass { - GstElementClass parent_class; + GstAudioDecoderClass parent_class; }; GType gst_vorbis_dec_get_type(void);