From 0057cf53778759567999d4c081af6a18f139793f Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Fri, 10 Nov 2023 08:01:03 +1100 Subject: [PATCH] [host] nvfbc: add additional debug output --- host/platform/Windows/capture/NVFBC/src/nvfbc.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/host/platform/Windows/capture/NVFBC/src/nvfbc.c b/host/platform/Windows/capture/NVFBC/src/nvfbc.c index 83b6c9f6..ec5044fc 100644 --- a/host/platform/Windows/capture/NVFBC/src/nvfbc.c +++ b/host/platform/Windows/capture/NVFBC/src/nvfbc.c @@ -677,6 +677,10 @@ static CaptureResult nvfbc_waitFrame(CaptureFrame * frame, else this->shmStride = ALIGN_PAD(this->grabStride, 64); + DEBUG_INFO("Mode: %dx%d, stride: %u, shmStride: %u", + this->grabWidth , this->grabHeight, + this->grabStride, this->shmStride); + this->resChanged = false; ++this->formatVer; }