diff options
author | Jan Schmidt <thaytan@mad.scientist.com> | 2007-05-25 10:44:12 +0000 |
---|---|---|
committer | Jan Schmidt <thaytan@mad.scientist.com> | 2007-05-25 10:44:12 +0000 |
commit | 4a7ecfb81482c873dc7b97c65dc601abdfbdc9fa (patch) | |
tree | 0b1f435488f2b3c8b0f1aeb3a1f1833e09af5658 /gst/id3demux/gstid3demux.h | |
parent | 465a740bbf5b569251ecfb4d4ebd301b0120b2ca (diff) |
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.
Diffstat (limited to 'gst/id3demux/gstid3demux.h')
-rw-r--r-- | gst/id3demux/gstid3demux.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gst/id3demux/gstid3demux.h b/gst/id3demux/gstid3demux.h index f8246ad4..7f9e18fd 100644 --- a/gst/id3demux/gstid3demux.h +++ b/gst/id3demux/gstid3demux.h @@ -65,6 +65,10 @@ struct _GstID3Demux GstTagList *event_tags; GstTagList *parsed_tags; gboolean send_tag_event; + + GstSegment segment; + gboolean need_newseg; + gboolean newseg_update; }; struct _GstID3DemuxClass |