diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-07-29 16:24:29 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-07-29 16:24:29 +0200 |
commit | 4e6e9974fb0a026258b8e728d6fbf4f0d467ede5 (patch) | |
tree | 5b7dad6ef727c06c1f1ff65d14274ba2d476b328 /include | |
parent | 905d430cdab8e009e0d583ed257f5580a1cc0a42 (diff) |
Fix video/audio sync when recording display
Diffstat (limited to 'include')
-rw-r--r-- | include/NvFBCLibrary.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/NvFBCLibrary.hpp b/include/NvFBCLibrary.hpp index 2a05566..2cc09d8 100644 --- a/include/NvFBCLibrary.hpp +++ b/include/NvFBCLibrary.hpp @@ -129,10 +129,10 @@ public: *display_height = height; } create_capture_params.eTrackingType = tracking_type; - //create_capture_params.dwSamplingRateMs = 1000 / fps; + create_capture_params.dwSamplingRateMs = 1000 / fps; // Cant use this, it breaks when a compositor is used //create_capture_params.bAllowDirectCapture = NVFBC_TRUE; - create_capture_params.bPushModel = NVFBC_TRUE; + //create_capture_params.bPushModel = NVFBC_TRUE; if(tracking_type == NVFBC_TRACKING_OUTPUT) create_capture_params.dwOutputId = output_id; |