mirror of
https://repo.dec05eba.com/gpu-screen-recorder
synced 2026-05-06 23:06:22 +09:00
Nvidia: use default p4 preset instead of p5, might fix frame issues
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user