mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-04-24 05:57:20 -04:00
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 <nst7999610810@gmail.com>
This commit is contained in:
parent
65f722f23c
commit
8e248c7c05
1 changed files with 0 additions and 1 deletions
|
@ -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"))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue