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

Steve Lhomme git at videolan.org
Wed Mar 11 16:57:58 CET 2015


vlc/vlc-2.2 | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Tue Mar 10 10:48:47 2015 +0000| [549a97eb46a5b6dfbc58c2a2b95cd48e572f1b0f] | 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>
(cherry picked from commit eadf306345f0e545c51af9a49925756e258538ba)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 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 845d387..25d1368 100644
--- a/modules/demux/mkv/matroska_segment_parse.cpp
+++ b/modules/demux/mkv/matroska_segment_parse.cpp
@@ -1370,6 +1370,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