mirror of
https://repo.dec05eba.com/gpu-screen-recorder
synced 2026-05-05 14:30:43 +09:00
Use correct offset for kms_vaapi monitor
This commit is contained in:
@@ -372,6 +372,9 @@ static int gsr_capture_kms_cuda_capture(gsr_capture *cap, AVFrame *frame) {
|
||||
}
|
||||
}
|
||||
|
||||
// TODO: Use capture pos and capture size. Right now they are not used here and doesn't really need to be used on wayland
|
||||
// and kms_cuda is only used on wayland right now so maybe it can be ignored.
|
||||
|
||||
if(!drm_fd)
|
||||
return -1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user