From 905d430cdab8e009e0d583ed257f5580a1cc0a42 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 29 Jul 2021 15:33:41 +0200 Subject: Fix recording display when a compositor is running --- include/NvFBCLibrary.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/NvFBCLibrary.hpp b/include/NvFBCLibrary.hpp index 3c5310a..2a05566 100644 --- a/include/NvFBCLibrary.hpp +++ b/include/NvFBCLibrary.hpp @@ -130,7 +130,8 @@ public: } create_capture_params.eTrackingType = tracking_type; //create_capture_params.dwSamplingRateMs = 1000 / fps; - create_capture_params.bAllowDirectCapture = NVFBC_TRUE; + // Cant use this, it breaks when a compositor is used + //create_capture_params.bAllowDirectCapture = NVFBC_TRUE; create_capture_params.bPushModel = NVFBC_TRUE; if(tracking_type == NVFBC_TRACKING_OUTPUT) create_capture_params.dwOutputId = output_id; -- cgit v1.2.3