Adjust HDR check

This commit is contained in:
Benedikt Nerb
2022-06-28 10:26:15 +02:00
parent c0ff878c9b
commit c4610bc957
+3 -1
View File
@@ -249,7 +249,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;
}