merging fix for hdr

This commit is contained in:
John Andrews
2022-06-28 21:14:46 +12:00
parent 3fd0834850
commit c5598460b7

View File

@@ -251,7 +251,9 @@ namespace FileFlows.VideoNodes
logger?.ILog("Failed to read duration for VideoStream: " + info);
}
vs.HDR = info.Contains("bt2020nc") && info.Contains("smpte2084");
// As per https://video.stackexchange.com/a/33827
// "HDR is only the new transfer function" (PQ or HLG)
vs.HDR = info.Contains("arib-std-b67") || info.Contains("smpte2084");
return vs;
}