Browse Source

Do not attempt to extract internal subtitles if there are only MKS subtitles.

Carsten Braun 10 tháng trước cách đây
mục cha
commit
e8239a7ee2
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  1. 5 0
      MediaBrowser.MediaEncoding/Subtitles/SubtitleEncoder.cs

+ 5 - 0
MediaBrowser.MediaEncoding/Subtitles/SubtitleEncoder.cs

@@ -635,6 +635,11 @@ namespace MediaBrowser.MediaEncoding.Subtitles
                     outputPath);
             }
 
+            if (outputPaths.Count == 0)
+            {
+                return;
+            }
+
             await ExtractSubtitlesForFile(inputPath, args, outputPaths, cancellationToken).ConfigureAwait(false);
         }