mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Backport pull request #13151 from jellyfin/release-10.10.z
Always do tone-mapping for HDR transcoding when software pipeline is used Original-merge: b31f1696f2cad1ebf37ad33af82161d52c9ca9e9 Merged-by: Bond-009 <bond.009@outlook.com> Backported-by: Bond_009 <bond.009@outlook.com>
This commit is contained in:
parent
39cd3dcbd1
commit
bc1419728f
@ -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"))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user