From 16c734b9e31d5c18282a1de9a70b0f23e899dcb3 Mon Sep 17 00:00:00 2001 From: jojo61 Date: Sat, 15 Jan 2022 15:36:01 +0100 Subject: [PATCH] Move sleep to VAAPI Part --- video.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/video.c b/video.c index c0000d7..dce91b9 100644 --- a/video.c +++ b/video.c @@ -4271,8 +4271,9 @@ static void CuvidDisplayFrame(void) { #else eglMakeCurrent(eglDisplay, eglSurface, eglSurface, eglThreadContext); EglCheck(); -#endif usleep(5000); +#endif + glClear(GL_COLOR_BUFFER_BIT); #else // PLACEBO