From 6625cd733af27de028f4bceff3f72490e9e211cb Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Fri, 27 Oct 2023 01:15:37 +1100 Subject: [PATCH] [client] main: log if the frame format is using PQ or not --- client/src/main.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/client/src/main.c b/client/src/main.c index 22dedb9f..f99af601 100644 --- a/client/src/main.c +++ b/client/src/main.c @@ -695,12 +695,13 @@ int main_frameThread(void * unused) g_state.formatValid = true; formatVer = frame->formatVer; - DEBUG_INFO("Format: %s %ux%u stride:%u pitch:%u rotation:%d hdr:%d", + DEBUG_INFO("Format: %s %ux%u stride:%u pitch:%u rotation:%d hdr:%d pq:%d", FrameTypeStr[frame->type], frame->frameWidth, frame->frameHeight, frame->stride, frame->pitch, frame->rotation, - frame->flags & FRAME_FLAG_HDR ? 1 : 0); + frame->flags & FRAME_FLAG_HDR ? 1 : 0, + frame->flags & FRAME_FLAG_HDR_PQ ? 1 : 0); LG_LOCK(g_state.lgrLock); if (!RENDERER(onFrameFormat, lgrFormat))