mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
matroskademux: segment seek position is expressed in buffer time
... so it need not be corrected again for stream start
This commit is contained in:
parent
dad2b41e4d
commit
286df32e03
1 changed files with 1 additions and 1 deletions
|
@ -3569,7 +3569,7 @@ gst_matroska_demux_parse_blockgroup_or_simpleblock (GstMatroskaDemux * demux,
|
||||||
GST_DEBUG_OBJECT (demux,
|
GST_DEBUG_OBJECT (demux,
|
||||||
"using stored seek position %" GST_TIME_FORMAT,
|
"using stored seek position %" GST_TIME_FORMAT,
|
||||||
GST_TIME_ARGS (demux->common.segment.position));
|
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->position = GST_CLOCK_TIME_NONE;
|
||||||
}
|
}
|
||||||
segment->start = clace_time;
|
segment->start = clace_time;
|
||||||
|
|
Loading…
Reference in a new issue