mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
matroskademux: always perform full seek if seek is flushing
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=677838
This commit is contained in:
parent
17b422137a
commit
8b1da8adb2
1 changed files with 4 additions and 0 deletions
|
@ -1980,6 +1980,10 @@ gst_matroska_demux_handle_seek_event (GstMatroskaDemux * demux,
|
|||
after = ! !(flags & GST_SEEK_FLAG_SNAP_AFTER);
|
||||
before = ! !(flags & GST_SEEK_FLAG_SNAP_BEFORE);
|
||||
|
||||
/* always do full update if flushing,
|
||||
* otherwise problems might arise downstream with missing keyframes etc */
|
||||
update = update || flush;
|
||||
|
||||
GST_DEBUG_OBJECT (demux, "New segment %" GST_SEGMENT_FORMAT, &seeksegment);
|
||||
|
||||
if (!update) {
|
||||
|
|
Loading…
Reference in a new issue