From 8e248c7c0555411d321bc7a3a4c9044ab9a302aa Mon Sep 17 00:00:00 2001 From: nyanmisaka Date: Tue, 3 Dec 2024 22:39:27 +0800 Subject: [PATCH] Enable software tone-mapping by default Transcoding HDR video without tonemapping results in an unacceptable viewing experience. Many users are not even aware of the option and therefore we should always enable the software tonemapx filter. Signed-off-by: nyanmisaka --- MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs b/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs index 9399679a4f..6bd8e96c91 100644 --- a/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs +++ b/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs @@ -309,7 +309,6 @@ namespace MediaBrowser.Controller.MediaEncoding private bool IsSwTonemapAvailable(EncodingJobInfo state, EncodingOptions options) { if (state.VideoStream is null - || !options.EnableTonemapping || GetVideoColorBitDepth(state) < 10 || !_mediaEncoder.SupportsFilter("tonemapx")) {