From 16cb051a57bb357fe866252c1360ce2c38e2deec Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Mon, 12 May 2025 08:29:19 -0400 Subject: [PATCH] libobs-opengl: Promote eglCreateImage failure to LOG_ERROR Xcomposite window capture is currently failing on FreeBSD, in gl_egl_create_texture_from_pixmap (for currently unknown reasons). Increase the log level of the existing log for eglCreateImage failure from LOG_INFO to LOG_ERROR to provide a hint for anyone who encounters the same issue in the future. --- 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 10682b1a6..8fa36e982 100644 --- a/libobs-opengl/gl-egl-common.c +++ b/libobs-opengl/gl-egl-common.c @@ -281,7 +281,7 @@ struct gs_texture *gl_egl_create_texture_from_pixmap(EGLDisplay egl_display, uin EGLImage image = eglCreateImage(egl_display, EGL_NO_CONTEXT, EGL_NATIVE_PIXMAP_KHR, pixmap, pixmap_attrs); if (image == EGL_NO_IMAGE) { - blog(LOG_DEBUG, "Cannot create EGLImage: %s", gl_egl_error_to_string(eglGetError())); + blog(LOG_ERROR, "Cannot create EGLImage: %s", gl_egl_error_to_string(eglGetError())); return NULL; }