mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
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:
parent
461cdd8c26
commit
603e2fe24a
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue