Display SDR/HDR status in performance overlay

This commit is contained in:
Cameron Gutman
2022-09-28 17:44:22 -05:00
parent 439e8fe33f
commit 483a601867

View File

@@ -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: