From 65381ee664bc58ea65860523084cc39a6684e559 Mon Sep 17 00:00:00 2001 From: Julien Isorce Date: Tue, 6 May 2014 11:21:56 +0100 Subject: [PATCH] gl: use GST_CAT_ERROR instead of GST_ERROR_OBJECT It fixes segault when GST_DEBUG is at least level 1 and eglCreateImage fails --- gst-libs/gst/gl/egl/gsteglimagememory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst-libs/gst/gl/egl/gsteglimagememory.c b/gst-libs/gst/gl/egl/gsteglimagememory.c index e4a58d3813..665f4cc89b 100644 --- a/gst-libs/gst/gl/egl/gsteglimagememory.c +++ b/gst-libs/gst/gl/egl/gsteglimagememory.c @@ -563,7 +563,7 @@ gst_egl_image_memory_setup_buffer (GstGLContext * ctx, GstVideoInfo * info, mem_error: { - GST_ERROR_OBJECT (GST_CAT_DEFAULT, "Failed to create EGLImage"); + GST_CAT_ERROR (GST_CAT_DEFAULT, "Failed to create EGLImage"); for (i = 0; i < 3; i++) { if (client_buffer_tex[i])