]> git.sesse.net Git - casparcg/commitdiff
[ffmpeg_producer] Recognize .mkv and .mxf files as playable without probing
authorHelge Norberg <helge.norberg@svt.se>
Thu, 10 Nov 2016 15:35:57 +0000 (16:35 +0100)
committerHelge Norberg <helge.norberg@svt.se>
Thu, 10 Nov 2016 16:16:10 +0000 (17:16 +0100)
modules/ffmpeg/producer/util/util.cpp

index 04a237415003678a83680473a4024bdd67be76c1..6ed51aa1c8797beb7469dcc3b159871636b52fda 100644 (file)
@@ -579,7 +579,9 @@ bool is_valid_file(const std::wstring& filename, bool only_video)
                L".mpg",
                L".dnxhd",
                L".h264",
-               L".prores"
+               L".prores",
+               L".mkv",
+               L".mxf"
        };
 
        auto ext = boost::to_lower_copy(boost::filesystem::path(filename).extension().wstring());