瀏覽代碼

Change CanExtractSubtitles to true to allow conversion during direct streaming

Claus Vium 6 年之前
父節點
當前提交
e8cf72e925
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs

+ 2 - 1
MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs

@@ -1018,7 +1018,8 @@ namespace MediaBrowser.MediaEncoding.Encoder
 
         public bool CanExtractSubtitles(string codec)
         {
-            return false;
+            // TODO is there ever a case when a subtitle can't be extracted??
+            return true;
         }
 
         private class ProcessWrapper : IDisposable