gleglimage: Fix GL_OES_EGL_image_external name in debug trace

There is a debug log when this extension is missing, but it was
reporting the wrong extension name, which was confusing.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3748>
This commit is contained in:
Nicolas Dufresne 2023-01-18 16:39:03 -05:00 committed by GStreamer Marge Bot
parent b0e55caf0d
commit 8a6d9748b6

View file

@ -643,8 +643,7 @@ _dma_buf_upload_accept (gpointer impl, GstBuffer * buffer, GstCaps * in_caps,
if (dmabuf->target == GST_GL_TEXTURE_TARGET_EXTERNAL_OES && if (dmabuf->target == GST_GL_TEXTURE_TARGET_EXTERNAL_OES &&
!gst_gl_context_check_feature (dmabuf->upload->context, !gst_gl_context_check_feature (dmabuf->upload->context,
"GL_OES_EGL_image_external")) { "GL_OES_EGL_image_external")) {
GST_DEBUG_OBJECT (dmabuf->upload, GST_DEBUG_OBJECT (dmabuf->upload, "no GL_OES_EGL_image_external extension");
"no EGL_KHR_image_base_external extension");
return FALSE; return FALSE;
} }