aboutsummaryrefslogtreecommitdiff
path: root/include/NvFBCLibrary.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-07-29 15:33:41 +0200
committerdec05eba <dec05eba@protonmail.com>2021-07-29 15:33:41 +0200
commit905d430cdab8e009e0d583ed257f5580a1cc0a42 (patch)
tree7bdd14d219ba5e979ec972b4d78bf81a84b3b594 /include/NvFBCLibrary.hpp
parent04d229caf3a8529ad2762791e8443e119dfb58a7 (diff)
Fix recording display when a compositor is running
Diffstat (limited to 'include/NvFBCLibrary.hpp')
-rw-r--r--include/NvFBCLibrary.hpp3
1 files changed, 2 insertions, 1 deletions
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;