aboutsummaryrefslogtreecommitdiff
path: root/src/capture/kms_vaapi.c
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-01-11 10:50:14 +0100
committerdec05eba <dec05eba@protonmail.com>2024-01-11 10:50:14 +0100
commit94cbed9471ee2263aac6ff8b10a27cd38964eb67 (patch)
tree75e4d5db6d7e873f8c5deccb769dd505ebcc52ae /src/capture/kms_vaapi.c
parent4c098a4f0397876110a950d99e9951c360fedca8 (diff)
Nvidia: use default p4 preset instead of p5, might fix frame issues
Diffstat (limited to 'src/capture/kms_vaapi.c')
-rw-r--r--src/capture/kms_vaapi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/capture/kms_vaapi.c b/src/capture/kms_vaapi.c
index 2074657..e542d5b 100644
--- a/src/capture/kms_vaapi.c
+++ b/src/capture/kms_vaapi.c
@@ -545,6 +545,8 @@ static int gsr_capture_kms_vaapi_capture(gsr_capture *cap, AVFrame *frame) {
}
cap_kms->params.egl->eglSwapBuffers(cap_kms->params.egl->egl_display, cap_kms->params.egl->egl_surface);
+ //cap_kms->params.egl->glFlush();
+ //cap_kms->params.egl->glFinish();
return 0;
}