gl: use GST_CAT_ERROR instead of GST_ERROR_OBJECT

It fixes segault when GST_DEBUG is at least level 1 and eglCreateImage fails
This commit is contained in:
Julien Isorce 2014-05-06 11:21:56 +01:00 committed by Tim-Philipp Müller
parent dd1c2b4c4c
commit bcc633ed2c

View file

@ -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])