From 3c8d3465bf0ec29fe04296c153de2081837fbbe6 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Fri, 29 Aug 2014 14:00:06 +0200 Subject: [PATCH] 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 --- ext/ogg/gstoggdemux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/ogg/gstoggdemux.c b/ext/ogg/gstoggdemux.c index b96ef32fde..efbce46ddb 100644 --- a/ext/ogg/gstoggdemux.c +++ b/ext/ogg/gstoggdemux.c @@ -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);