[vlc-commits] demux: mkv: add AV1 support

Tristan Matthews git at videolan.org
Sun Aug 21 19:47:34 CEST 2016


vlc | branch: master | Tristan Matthews <tmatth at videolan.org> | Fri Aug 19 15:04:51 2016 -0700| [d2de6b8b4c893b90670094036ec795bfcd069915] | committer: Tristan Matthews

demux: mkv: add AV1 support

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

 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;
         }



More information about the vlc-commits mailing list