oggdemux: fix chaining causing running time to restart from 0

This fixes:
gst-play-1.0 http://relay-nyc.gameowls.com:8000/chiptune.ogg

https://bugzilla.gnome.org/show_bug.cgi?id=758282
This commit is contained in:
Vincent Penquerc'h 2016-02-05 14:14:37 +00:00
parent 461cdd8c26
commit 603e2fe24a

View file

@ -1204,7 +1204,7 @@ gst_ogg_pad_submit_packet (GstOggPad * pad, ogg_packet * packet)
segment.position = chain->segment_start; segment.position = chain->segment_start;
segment.stop = chain->segment_stop; segment.stop = chain->segment_stop;
segment.time = chain->begin_time; segment.time = chain->begin_time;
segment.base = ogg->segment.base; segment.base = ogg->segment.base + segment.time;
event = gst_event_new_segment (&segment); event = gst_event_new_segment (&segment);
} }
} }