mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 15:51:11 +00:00
oggdemux: accumulate base time
Base time should be accumulated so non flushing seeks have the expected base. Not accumulating result in segments appearing as "too late" and so are not played by the sink. https://bugzilla.gnome.org/show_bug.cgi?id=735509
This commit is contained in:
parent
5fc94da399
commit
3c8d3465bf
1 changed files with 1 additions and 1 deletions
|
@ -4186,7 +4186,7 @@ gst_ogg_demux_handle_page (GstOggDemux * ogg, ogg_page * page)
|
|||
segment.start = start;
|
||||
segment.stop = chain->segment_stop;
|
||||
segment.time = chain->begin_time;
|
||||
segment.base = chain->begin_time;
|
||||
segment.base += chain->begin_time;
|
||||
event = gst_event_new_segment (&segment);
|
||||
gst_event_set_seqnum (event, ogg->seqnum);
|
||||
|
||||
|
|
Loading…
Reference in a new issue