From bacb41e142b5182e29b14f93834f17a108afee13 Mon Sep 17 00:00:00 2001 From: Cody Robibero Date: Mon, 6 Jun 2022 09:40:38 -0600 Subject: [PATCH] Merge pull request #7854 from cvium/enable_mkv_keyframe_extraction (cherry picked from commit 2a89683e8019a196b087138531b3958d4f68789d) Signed-off-by: crobibero --- MediaBrowser.Model/Configuration/EncodingOptions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MediaBrowser.Model/Configuration/EncodingOptions.cs b/MediaBrowser.Model/Configuration/EncodingOptions.cs index 06931ac3b5..fce0b6d6f6 100644 --- a/MediaBrowser.Model/Configuration/EncodingOptions.cs +++ b/MediaBrowser.Model/Configuration/EncodingOptions.cs @@ -39,7 +39,7 @@ namespace MediaBrowser.Model.Configuration EnableHardwareEncoding = true; AllowHevcEncoding = false; EnableSubtitleExtraction = true; - AllowOnDemandMetadataBasedKeyframeExtractionForExtensions = Array.Empty(); + AllowOnDemandMetadataBasedKeyframeExtractionForExtensions = new[] { "mkv" }; HardwareDecodingCodecs = new string[] { "h264", "vc1" }; }