Commit 80ed8a25 authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf

MKV: avoid using the last_dts of a track we know is not used anymore

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