Browse Source

Fix check for format option in scale_cuda filter (#12874)

Nyanmisaka 7 tháng trước cách đây
mục cha
commit
3ceb8337e7
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      MediaBrowser.MediaEncoding/Encoder/EncoderValidator.cs

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

@@ -150,7 +150,7 @@ namespace MediaBrowser.MediaEncoding.Encoder
 
         private static readonly Dictionary<int, string[]> _filterOptionsDict = new Dictionary<int, string[]>
         {
-            { 0, new string[] { "scale_cuda", "Output format (default \"same\")" } },
+            { 0, new string[] { "scale_cuda", "format" } },
             { 1, new string[] { "tonemap_cuda", "GPU accelerated HDR to SDR tonemapping" } },
             { 2, new string[] { "tonemap_opencl", "bt2390" } },
             { 3, new string[] { "overlay_opencl", "Action to take when encountering EOF from secondary input" } },