* the format for sure */
GstCaps *caps;
GstTagList *tags;
- GstEvent *newsegment;
+ GstEvent *start_segment;
/* WAVE decoding state */
GstWavParseState state;
+ gboolean abort_buffering;
/* format of audio, see defines below */
gint format;
/* useful audio data */
guint16 depth;
- gint rate;
+ guint32 rate;
guint16 channels;
guint16 blockalign;
guint16 width;
- guint32 bps;
+ guint32 av_bps;
guint32 fact;
+ /* real bps used or 0 when no bitrate is known */
+ guint32 bps;
+ gboolean vbr;
+
guint bytes_per_sample;
+ guint max_buf_size;
/* position in data part */
guint64 offset;
/* offset/length of data part */
guint64 datastart;
guint64 datasize;
-
+ /* duration in time */
+ guint64 duration;
+
/* pending seek */
GstEvent *seek_event;
gboolean got_fmt;
gboolean streaming;
- /* configured segment, start/stop expressed in time */
+ /* configured segment, start/stop expressed in time or bytes */
GstSegment segment;
- gboolean segment_running;
-
+
/* for late pad configuration */
gboolean first;
+ /* discont after seek */
+ gboolean discont;
+
+ gboolean ignore_length;
};
struct _GstWavParseClass {