From 483a6018677ffc56b22ff711ecbced97d2401595 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Wed, 28 Sep 2022 17:44:22 -0500 Subject: [PATCH] Display SDR/HDR status in performance overlay --- app/streaming/video/ffmpeg.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/streaming/video/ffmpeg.cpp b/app/streaming/video/ffmpeg.cpp index d68c4038..e8751da9 100644 --- a/app/streaming/video/ffmpeg.cpp +++ b/app/streaming/video/ffmpeg.cpp @@ -523,7 +523,12 @@ void FFmpegVideoDecoder::stringifyVideoStats(VIDEO_STATS& stats, char* output) break; case VIDEO_FORMAT_H265_MAIN10: - codecString = "HEVC Main 10"; + if (LiGetCurrentHostDisplayHdrMode()) { + codecString = "HEVC Main 10 HDR"; + } + else { + codecString = "HEVC Main 10 SDR"; + } break; default: