Selaa lähdekoodia

chore: enable on demand keyframe extraction for mkv

cvium 3 vuotta sitten
vanhempi
sitoutus
4f0666ac5c
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      MediaBrowser.Model/Configuration/EncodingOptions.cs

+ 1 - 1
MediaBrowser.Model/Configuration/EncodingOptions.cs

@@ -39,7 +39,7 @@ namespace MediaBrowser.Model.Configuration
             EnableHardwareEncoding = true;
             AllowHevcEncoding = false;
             EnableSubtitleExtraction = true;
-            AllowOnDemandMetadataBasedKeyframeExtractionForExtensions = Array.Empty<string>();
+            AllowOnDemandMetadataBasedKeyframeExtractionForExtensions = new[] { "mkv" };
             HardwareDecodingCodecs = new string[] { "h264", "vc1" };
         }