Fix the invalid libplacebo filter option (#12732)

pull/12733/head
Nyanmisaka 6 months ago committed by GitHub
parent 2ccb8b7380
commit e5f5f7c384
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -3441,7 +3441,7 @@ namespace MediaBrowser.Controller.MediaEncoding
algorithmString = algorithm.ToString().ToLowerInvariant();
}
tonemapArg = ":tonemapping=" + algorithm + ":peak_detect=0:color_primaries=bt709:color_trc=bt709:colorspace=bt709";
tonemapArg = $":tonemapping={algorithmString}:peak_detect=0:color_primaries=bt709:color_trc=bt709:colorspace=bt709";
if (range == TonemappingRange.tv || range == TonemappingRange.pc)
{

Loading…
Cancel
Save