Commit b9f859f6 authored by Denis Charmet's avatar Denis Charmet Committed by Jean-Baptiste Kempf

Fix MKV PCR "free-run" when a track is disabled.

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent df4da384
......@@ -505,6 +505,8 @@ void BlockDecode( demux_t *p_demux, KaxBlock *block, KaxSimpleBlock *simpleblock
if( !b )
{
tk->b_inited = false;
if( tk->fmt.i_cat == VIDEO_ES || tk->fmt.i_cat == AUDIO_ES )
tk->i_last_dts = i_pts;
return;
}
}
......
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