[vlc-devel] [PATCH 2/2] demux: mkv: fix timestamp issue of RV30/RV40

Zhao Zhili quinkblack at foxmail.com
Wed May 30 13:56:50 CEST 2018


Fix #20537
---
  modules/demux/mkv/matroska_segment_parse.cpp | 2 ++
  1 file changed, 2 insertions(+)

diff --git a/modules/demux/mkv/matroska_segment_parse.cpp 
b/modules/demux/mkv/matroska_segment_parse.cpp
index b0c844c..ba00cde 100644
--- a/modules/demux/mkv/matroska_segment_parse.cpp
+++ b/modules/demux/mkv/matroska_segment_parse.cpp
@@ -1541,6 +1541,8 @@ bool matroska_segment_c::TrackInit( mkv_track_t * 
p_tk )
              }

              fill_extra_data( vars.p_tk, 26 );
+            if (codec == VLC_CODEC_RV30 || codec == VLC_CODEC_RV40)
+                vars.p_tk->fmt.b_packetized = false;
          }
          S_CASE("V_REAL/RV10") { v_real_helper (VLC_CODEC_RV10, vars ); }
          S_CASE("V_REAL/RV20") { v_real_helper (VLC_CODEC_RV20, vars ); }
-- 
2.9.5

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-demux-mkv-fix-timestamp-issue-of-RV30-RV40.patch
Type: text/x-patch
Size: 994 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20180530/4ec0856e/attachment.bin>


More information about the vlc-devel mailing list