gst/: Handle and adjust new-segment events so that downstream really sees a stream...
authorJan Schmidt <thaytan@mad.scientist.com>
Fri, 25 May 2007 10:44:12 +0000 (10:44 +0000)
committerJan Schmidt <thaytan@mad.scientist.com>
Fri, 25 May 2007 10:44:12 +0000 (10:44 +0000)
commit4a7ecfb81482c873dc7b97c65dc601abdfbdc9fa
tree0b1f435488f2b3c8b0f1aeb3a1f1833e09af5658
parent465a740bbf5b569251ecfb4d4ebd301b0120b2ca
gst/: Handle and adjust new-segment events so that downstream really sees a stream with the tag pieces stripped off t...

Original commit message from CVS:
* gst/id3demux/gstid3demux.c: (gst_id3demux_reset),
(gst_id3demux_send_new_segment), (gst_id3demux_chain),
(gst_id3demux_sink_event):
* gst/id3demux/gstid3demux.h:
* gst/apetag/gsttagdemux.c: (gst_tag_demux_reset),
(gst_tag_demux_chain), (gst_tag_demux_sink_event),
(gst_tag_demux_send_new_segment):
Handle and adjust new-segment events so that downstream really
sees a stream with the tag pieces stripped off the front and back.
Fixes strangeness in seeking when mp3 decoders use the new-segment
byte position to estimate their current playback position timestamp
and then the arriving buffers don't match up.
ChangeLog
gst/apetag/gsttagdemux.c
gst/id3demux/gstid3demux.c
gst/id3demux/gstid3demux.h