From f91b837172461905fbbc78e3b656c737491b7c14 Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Fri, 17 Nov 2017 15:31:22 +1100 Subject: [PATCH] [host] fixed NvFBC bpp problem in nocrop mode --- host/Capture/NvFBC.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/host/Capture/NvFBC.cpp b/host/Capture/NvFBC.cpp index 66f797e2..d4aebd99 100644 --- a/host/Capture/NvFBC.cpp +++ b/host/Capture/NvFBC.cpp @@ -236,7 +236,7 @@ bool NvFBC::GrabFrame(struct FrameInfo & frame) if (m_optNoCrop) { - dataWidth = m_grabInfo.dwWidth * 3; + dataWidth = m_grabInfo.dwWidth * 4; dataOffset = 0; frame.width = m_grabInfo.dwWidth;