diff options
author | dec05eba <dec05eba@protonmail.com> | 2023-09-27 00:52:28 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2023-09-27 00:52:28 +0200 |
commit | b6ea32330edeb9d5ac52aba86d7b6798cb91529f (patch) | |
tree | e7bcd6bec14aeb17a9c40d1ca031cb10f7d1e86f /src/capture/kms_cuda.c | |
parent | 6024beca4e37112a23f18d74500b3aeae235d48d (diff) |
Use correct offset for kms_vaapi monitor
Diffstat (limited to 'src/capture/kms_cuda.c')
-rw-r--r-- | src/capture/kms_cuda.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/capture/kms_cuda.c b/src/capture/kms_cuda.c index 434b452..13636aa 100644 --- a/src/capture/kms_cuda.c +++ b/src/capture/kms_cuda.c @@ -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; |