mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
matroskademux: Take segment stop into account when need_segment
Otherwise, in the case of e.g. a deferred seek event, the segment stop would be replaced with GST_CLOCK_TIME_NONE. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/929>
This commit is contained in:
parent
597a226b92
commit
5f783647a0
1 changed files with 1 additions and 1 deletions
|
@ -4534,7 +4534,7 @@ gst_matroska_demux_parse_blockgroup_or_simpleblock (GstMatroskaDemux * demux,
|
|||
segment->position = GST_CLOCK_TIME_NONE;
|
||||
}
|
||||
segment->start = clace_time;
|
||||
segment->stop = GST_CLOCK_TIME_NONE;
|
||||
segment->stop = demux->common.segment.stop;
|
||||
segment->time = segment->start - demux->stream_start_time;
|
||||
segment->position = segment->start - demux->stream_start_time;
|
||||
GST_DEBUG_OBJECT (demux,
|
||||
|
|
Loading…
Reference in a new issue