[vlc-devel] [PATCH 1/2] mkv: demux VP9
Rafaël Carré
funman at videolan.org
Sun Oct 20 17:03:09 CEST 2013
---
modules/demux/mkv/matroska_segment_parse.cpp | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/modules/demux/mkv/matroska_segment_parse.cpp b/modules/demux/mkv/matroska_segment_parse.cpp
index 2988f71..b18adbd 100644
--- a/modules/demux/mkv/matroska_segment_parse.cpp
+++ b/modules/demux/mkv/matroska_segment_parse.cpp
@@ -1349,6 +1349,11 @@ int32_t matroska_segment_c::TrackInit( mkv_track_t * p_tk )
p_tk->fmt.i_codec = VLC_CODEC_VP8;
p_tk->b_pts_only = true;
}
+ else if( !strncmp( p_tk->psz_codec, "V_VP9", 5 ) )
+ {
+ p_tk->fmt.i_codec = VLC_CODEC_VP9;
+ p_tk->b_pts_only = true;
+ }
else if( !strncmp( p_tk->psz_codec, "V_MPEG4", 7 ) )
{
if( !strcmp( p_tk->psz_codec, "V_MPEG4/MS/V3" ) )
--
1.8.3.2
More information about the vlc-devel
mailing list