[vlc-devel] [PATCH] demux: mkv: add support for FFV1 v1 and v3
Steve Lhomme
robux4 at videolabs.io
Wed Apr 12 17:14:23 CEST 2017
Fixes #18085
---
modules/demux/mkv/matroska_segment_parse.cpp | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/modules/demux/mkv/matroska_segment_parse.cpp b/modules/demux/mkv/matroska_segment_parse.cpp
index f4d73613c9..a4138d1d06 100644
--- a/modules/demux/mkv/matroska_segment_parse.cpp
+++ b/modules/demux/mkv/matroska_segment_parse.cpp
@@ -1469,6 +1469,10 @@ int32_t matroska_segment_c::TrackInit( mkv_track_t * p_tk )
S_CASE("V_UNCOMPRESSED") {
msg_Dbg( vars.p_demuxer, "uncompressed format detected");
}
+ S_CASE("V_FFV1") {
+ vars.p_fmt->i_codec = VLC_CODEC_FFV1;
+ fill_extra_data( vars.p_tk, 0 );
+ }
S_CASE("A_MS/ACM") {
mkv_track_t * p_tk = vars.p_tk;
es_format_t * p_fmt = &vars.p_tk->fmt;
--
2.11.1
More information about the vlc-devel
mailing list