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

pull/12877/head
Nyanmisaka 4 months ago committed by GitHub
parent 87c8feed4a
commit 3ceb8337e7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -150,7 +150,7 @@ namespace MediaBrowser.MediaEncoding.Encoder
private static readonly Dictionary<int, string[]> _filterOptionsDict = new Dictionary<int, string[]> 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" } }, { 1, new string[] { "tonemap_cuda", "GPU accelerated HDR to SDR tonemapping" } },
{ 2, new string[] { "tonemap_opencl", "bt2390" } }, { 2, new string[] { "tonemap_opencl", "bt2390" } },
{ 3, new string[] { "overlay_opencl", "Action to take when encountering EOF from secondary input" } }, { 3, new string[] { "overlay_opencl", "Action to take when encountering EOF from secondary input" } },

Loading…
Cancel
Save