|
@@ -309,7 +309,6 @@ namespace MediaBrowser.Controller.MediaEncoding
|
|
private bool IsSwTonemapAvailable(EncodingJobInfo state, EncodingOptions options)
|
|
private bool IsSwTonemapAvailable(EncodingJobInfo state, EncodingOptions options)
|
|
{
|
|
{
|
|
if (state.VideoStream is null
|
|
if (state.VideoStream is null
|
|
- || !options.EnableTonemapping
|
|
|
|
|| GetVideoColorBitDepth(state) < 10
|
|
|| GetVideoColorBitDepth(state) < 10
|
|
|| !_mediaEncoder.SupportsFilter("tonemapx"))
|
|
|| !_mediaEncoder.SupportsFilter("tonemapx"))
|
|
{
|
|
{
|