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

Steve Lhomme git at videolan.org
Tue Mar 10 16:18:39 CET 2015


vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Tue Mar 10 10:48:47 2015 +0000| [eadf306345f0e545c51af9a49925756e258538ba] | committer: Jean-Baptiste Kempf

MKV: VP9 has incremental frames, no B-frames

Fixes #11690

#11690 still fails to play with avcodec after that fix but is fine with libvpx

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=eadf306345f0e545c51af9a49925756e258538ba
---

 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 ) )



More information about the vlc-commits mailing list