diff options
author | Wim Taymans <wim.taymans@gmail.com> | 2007-05-02 17:19:36 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2007-05-02 17:19:36 +0000 |
commit | 64e0ee90f6a3e9a7ea173af0141eac20303dcc84 (patch) | |
tree | d827b829343cec276a841418a06160f7d8374f51 /gst/wavparse/gstwavparse.h | |
parent | b64fd034a58ad433ad489d2748a72abfc3ef0d6a (diff) |
gst/wavparse/gstwavparse.*: Be a bit more clever when dealing with VBR files with FACT tags, we don't want to timesta...
Original commit message from CVS:
* gst/wavparse/gstwavparse.c: (gst_wavparse_perform_seek),
(gst_wavparse_stream_headers), (gst_wavparse_add_src_pad),
(gst_wavparse_stream_data):
* gst/wavparse/gstwavparse.h:
Be a bit more clever when dealing with VBR files with FACT tags, we
don't want to timestamp buffers in that case but the estimated BPS can
be used for seeking.
Only send close segment in the streaming thread.
Diffstat (limited to 'gst/wavparse/gstwavparse.h')
-rw-r--r-- | gst/wavparse/gstwavparse.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gst/wavparse/gstwavparse.h b/gst/wavparse/gstwavparse.h index 18e9ef72..2fad91d0 100644 --- a/gst/wavparse/gstwavparse.h +++ b/gst/wavparse/gstwavparse.h @@ -66,7 +66,8 @@ struct _GstWavParse { * the format for sure */ GstCaps *caps; GstTagList *tags; - GstEvent *newsegment; + GstEvent *close_segment; + GstEvent *start_segment; /* WAVE decoding state */ GstWavParseState state; @@ -85,6 +86,7 @@ struct _GstWavParse { /* real bps used or 0 when no bitrate is known */ guint32 bps; + gboolean vbr; guint bytes_per_sample; |