From 94cbed9471ee2263aac6ff8b10a27cd38964eb67 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 11 Jan 2024 10:50:14 +0100 Subject: Nvidia: use default p4 preset instead of p5, might fix frame issues --- src/capture/xcomposite_vaapi.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/capture/xcomposite_vaapi.c') diff --git a/src/capture/xcomposite_vaapi.c b/src/capture/xcomposite_vaapi.c index 2bc21a7..6cfea9f 100644 --- a/src/capture/xcomposite_vaapi.c +++ b/src/capture/xcomposite_vaapi.c @@ -445,6 +445,8 @@ static int gsr_capture_xcomposite_vaapi_capture(gsr_capture *cap, AVFrame *frame texture_rotation); cap_xcomp->params.egl->eglSwapBuffers(cap_xcomp->params.egl->egl_display, cap_xcomp->params.egl->egl_surface); + //cap_xcomp->params.egl->glFlush(); + //cap_xcomp->params.egl->glFinish(); return 0; } -- cgit v1.2.3