[vlc-commits] MKV: avoid using the last_dts of a track we know is not used anymore
Steve Lhomme
git at videolan.org
Sat Mar 14 11:33:43 CET 2015
vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Fri Mar 13 14:34:29 2015 +0000| [80ed8a25ecec52fda6f2868b74c681d3a954e122] | committer: Jean-Baptiste Kempf
MKV: avoid using the last_dts of a track we know is not used anymore
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=80ed8a25ecec52fda6f2868b74c681d3a954e122
---
modules/demux/mkv/mkv.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/demux/mkv/mkv.cpp b/modules/demux/mkv/mkv.cpp
index 212082e..5e183b9 100644
--- a/modules/demux/mkv/mkv.cpp
+++ b/modules/demux/mkv/mkv.cpp
@@ -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;
}
}
More information about the vlc-commits
mailing list