Nyanmisaka 4 năm trước cách đây
mục cha
commit
d72f3498bf
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs

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

@@ -554,7 +554,7 @@ namespace MediaBrowser.MediaEncoding.Encoder
             var mapArg = imageStreamIndex.HasValue ? (" -map 0:v:" + imageStreamIndex.Value.ToString(CultureInfo.InvariantCulture)) : string.Empty;
 
             // Use ffmpeg to sample 100 (we can drop this if required using thumbnail=50 for 50 frames) frames and pick the best thumbnail. Have a fall back just in case.
-            var enableThumbnail = useIFrame && !string.Equals("wtv", container, StringComparer.OrdinalIgnoreCase);
+            var enableThumbnail = useIFrame && !string.Equals("wtv", container, StringComparison.OrdinalIgnoreCase);
             if (string.IsNullOrEmpty(vf))
             {
                 vf = enableThumbnail ? "-vf thumbnail=24" : string.Empty;