matroskademux: segment seek position is expressed in buffer time

... so it need not be corrected again for stream start
This commit is contained in:
Mark Nauwelaerts 2017-07-01 18:57:47 +02:00
parent dad2b41e4d
commit 286df32e03

View file

@ -3569,7 +3569,7 @@ gst_matroska_demux_parse_blockgroup_or_simpleblock (GstMatroskaDemux * demux,
GST_DEBUG_OBJECT (demux,
"using stored seek position %" GST_TIME_FORMAT,
GST_TIME_ARGS (demux->common.segment.position));
clace_time = demux->common.segment.position + demux->stream_start_time;
clace_time = demux->common.segment.position;
segment->position = GST_CLOCK_TIME_NONE;
}
segment->start = clace_time;