Commit dc09ace2 authored by Mark Nauwelaerts's avatar Mark Nauwelaerts
Browse files

matroskademux: restrict resyncing to subtitle tracks

This should prevent skipping audio or video in not so well interleaved

Fixes #614460.
parent 861311e8
......@@ -3636,6 +3636,11 @@ gst_matroska_demux_sync_streams (GstMatroskaDemux * demux)
"Checking for resync on stream %d (%" GST_TIME_FORMAT ")", stream_nr,
GST_TIME_ARGS (context->pos));
GST_LOG_OBJECT (demux, "Skipping sync on non-subtitle stream");
/* does it lag? 0.5 seconds is a random threshold...
* lag need only be considered if we have advanced into requested segment */
if (GST_CLOCK_TIME_IS_VALID (context->pos) &&
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment