Browse Source

Change CanExtractSubtitles to true to allow conversion during direct streaming

Claus Vium 6 năm trước cách đây
mục cha
commit
e8cf72e925
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  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