[vlc-devel] [PATCH] MKV: VP9 has incremental frames, no B-frames

Steve Lhomme robUx4 at videolabs.io
Tue Mar 10 12:48:47 CET 2015


Fixes #11690

#11690 still fails to play with avcodec after that fix but is fine with libvpx
---
 modules/demux/mkv/matroska_segment_parse.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/demux/mkv/matroska_segment_parse.cpp b/modules/demux/mkv/matroska_segment_parse.cpp
index da9113e..ad88a81 100644
--- a/modules/demux/mkv/matroska_segment_parse.cpp
+++ b/modules/demux/mkv/matroska_segment_parse.cpp
@@ -1373,6 +1373,7 @@ int32_t matroska_segment_c::TrackInit( mkv_track_t * p_tk )
     {
         p_tk->fmt.i_codec = VLC_CODEC_VP9;
         p_tk->fmt.b_packetized = false;
+        p_tk->b_pts_only = true;
         fill_extra_data( p_tk, 0 );
     }
     else if( !strncmp( p_tk->psz_codec, "V_MPEG4", 7 ) )
-- 
2.2.2




More information about the vlc-devel mailing list