Fix recording display when a compositor is running
This commit is contained in:
parent
04d229caf3
commit
905d430cda
@ -130,7 +130,8 @@ public:
|
|||||||
}
|
}
|
||||||
create_capture_params.eTrackingType = tracking_type;
|
create_capture_params.eTrackingType = tracking_type;
|
||||||
//create_capture_params.dwSamplingRateMs = 1000 / fps;
|
//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;
|
create_capture_params.bPushModel = NVFBC_TRUE;
|
||||||
if(tracking_type == NVFBC_TRACKING_OUTPUT)
|
if(tracking_type == NVFBC_TRACKING_OUTPUT)
|
||||||
create_capture_params.dwOutputId = output_id;
|
create_capture_params.dwOutputId = output_id;
|
||||||
|
Loading…
Reference in New Issue
Block a user