From 41639401377e1261297ce4fd151381eac836e175 Mon Sep 17 00:00:00 2001 From: Kurt Kartaltepe Date: Thu, 30 Jun 2022 15:45:26 -0700 Subject: [PATCH] libobs-opengl: Change log level for texture_from_pixmap This function is expected to fail fairly often as it is the tool for checking if windows are mapped and have a valid pixmap in the linux capture plugin. So reduce this error to a debug message to avoid spamming release builds. --- libobs-opengl/gl-egl-common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libobs-opengl/gl-egl-common.c b/libobs-opengl/gl-egl-common.c index eb11820cc..bda4a6883 100644 --- a/libobs-opengl/gl-egl-common.c +++ b/libobs-opengl/gl-egl-common.c @@ -252,7 +252,7 @@ gl_egl_create_texture_from_pixmap(EGLDisplay egl_display, uint32_t width, EGL_NATIVE_PIXMAP_KHR, pixmap, pixmap_attrs); if (image == EGL_NO_IMAGE) { - blog(LOG_ERROR, "Cannot create EGLImage: %s", + blog(LOG_DEBUG, "Cannot create EGLImage: %s", gl_egl_error_to_string(eglGetError())); return NULL; }