From c5598460b75f798c9d18578d2abb8a4dae103d9e Mon Sep 17 00:00:00 2001 From: John Andrews Date: Tue, 28 Jun 2022 21:14:46 +1200 Subject: [PATCH] merging fix for hdr --- VideoNodes/VideoInfoHelper.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/VideoNodes/VideoInfoHelper.cs b/VideoNodes/VideoInfoHelper.cs index e42041ca..2bb703ff 100644 --- a/VideoNodes/VideoInfoHelper.cs +++ b/VideoNodes/VideoInfoHelper.cs @@ -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; }