[Bug 785518] rpi, gl: eglCreateImageKHR failing
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Mon Jul 31 14:12:10 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=785518
--- Comment #7 from Julien Isorce <julien.isorce at gmail.com> ---
Thx for checking.
Can you try this for GstGL in -bad ?
--- a/gst-libs/gst/gl/egl/gstglmemoryegl.c
+++ b/gst-libs/gst/gl/egl/gstglmemoryegl.c
@@ -160,6 +160,11 @@ _gl_mem_egl_alloc (GstGLBaseMemoryAllocator * allocator,
params->parent.alloc_params, params->v_info, params->plane,
params->valign, params->parent.user_data, params->parent.notify);
+ if (!gl_mem->image) {
+ gst_allocator_free (GST_ALLOCATOR_CAST (allocator), GST_GL_MEMORY_CAST
(mem));
+ return NULL;
+ }
+
return mem;
}
Hopefully this makes pool acquire_buffer to fail so that there is no critical.
According to https://bugzilla.gnome.org/show_bug.cgi?id=729588 it was fixed so
gpu_mem=128 worked for 1080p. If it does not work now then it is a regression
again.
Can you try gst-launch-1.0 filesrc location=short-hd.h264 ! h264parse !
omxh264dec ! glupload ! "video/x-raw(memory:GLMemory)" ! fakesink ?
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list