mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-03 01:02:19 +00:00
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:
parent
dd1c2b4c4c
commit
bcc633ed2c
1 changed files with 1 additions and 1 deletions
|
@ -563,7 +563,7 @@ gst_egl_image_memory_setup_buffer (GstGLContext * ctx, GstVideoInfo * info,
|
||||||
|
|
||||||
mem_error:
|
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++) {
|
for (i = 0; i < 3; i++) {
|
||||||
if (client_buffer_tex[i])
|
if (client_buffer_tex[i])
|
||||||
|
|
Loading…
Reference in a new issue