gleglimage: Fix GL_OES_EGL_image_external name in debug trace
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Wed, 18 Jan 2023 21:39:03 +0000 (16:39 -0500)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 18 Jan 2023 22:47:42 +0000 (22:47 +0000)
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>

subprojects/gst-plugins-base/gst-libs/gst/gl/gstglupload.c

index 344a463..2227240 100644 (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 &&
       !gst_gl_context_check_feature (dmabuf->upload->context,
           "GL_OES_EGL_image_external")) {
-    GST_DEBUG_OBJECT (dmabuf->upload,
-        "no EGL_KHR_image_base_external extension");
+    GST_DEBUG_OBJECT (dmabuf->upload, "no GL_OES_EGL_image_external extension");
     return FALSE;
   }