[vlc-devel] [PATCH 2/2] demux: mkv: add AV1 support
Tristan Matthews
tmatth at videolan.org
Sat Aug 20 00:57:22 CEST 2016
---
modules/demux/mkv/matroska_segment_parse.cpp | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/modules/demux/mkv/matroska_segment_parse.cpp b/modules/demux/mkv/matroska_segment_parse.cpp
index c0ee772..7985656 100644
--- a/modules/demux/mkv/matroska_segment_parse.cpp
+++ b/modules/demux/mkv/matroska_segment_parse.cpp
@@ -1345,6 +1345,13 @@ int32_t matroska_segment_c::TrackInit( mkv_track_t * p_tk )
fill_extra_data( vars.p_tk, 0 );
}
+ S_CASE("V_AV1") {
+ vars.p_fmt->i_codec = VLC_CODEC_AV1;
+ vars.p_fmt->b_packetized = false;
+ vars.p_tk->b_pts_only = true;
+
+ fill_extra_data( vars.p_tk, 0 );
+ }
S_CASE("V_MPEG4/MS/V3") {
vars.p_fmt->i_codec = VLC_CODEC_DIV3;
}
--
2.7.4
More information about the vlc-devel
mailing list