mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-21 05:26:23 +00:00
qtdemux: Update segment.start after key-unit seek
When doing key uint seek, qtdemux calls gst_qtdemux_adjust_seek to get proper offset. And then this offset is set to segment.position and segment.time in gst_qtdemux_perform_seek but segment.start is not updated. After that, application sends segment query, qtdemux sets start and stop to query using gst_segment_to_stream_time. Due to the wrong value in segment.start, the stop position is smaller than it should. https://bugzilla.gnome.org/show_bug.cgi?id=746822
This commit is contained in:
parent
39c09284e2
commit
7fbd1b472f
1 changed files with 1 additions and 0 deletions
|
@ -1432,6 +1432,7 @@ gst_qtdemux_perform_seek (GstQTDemux * qtdemux, GstSegment * segment,
|
|||
}
|
||||
segment->position = desired_offset;
|
||||
segment->time = desired_offset;
|
||||
segment->start = desired_offset;
|
||||
|
||||
/* we stop at the end */
|
||||
if (segment->stop == -1)
|
||||
|
|
Loading…
Reference in a new issue