浏览代码

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)
         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
         private class ProcessWrapper : IDisposable