[Bug 767022] glimagesink + Python + Qt4 does not work as expected
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Mon May 30 18:11:52 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=767022
--- Comment #4 from HÃ¥vard Graff (hgr) <havard.graff at gmail.com> ---
I also discovered that by setting the glimagesink to READY before setting the
window-id (my working scenario), this fixes a crash I was having on OSX when
using 2 glimagesinks at he same time. 50% of the time it would crash with
messages like:
gst_gl_context_get_window: assertion 'GST_IS_GL_CONTEXT (context)' failed
gst_gl_window_get_context: assertion 'GST_IS_GL_WINDOW (window)' failed
So by doing the READY-trick, this problems also goes away completely!
It seems to me that the stuff the sink is doing when going from NULL_TO_READY:
if (!gst_gl_ensure_element_data (glimage_sink, &glimage_sink->display,
&glimage_sink->other_context))
return GST_STATE_CHANGE_FAILURE;
gst_gl_display_filter_gl_api (glimage_sink->display, SUPPORTED_GL_APIS);
if (!_ensure_gl_setup (glimage_sink))
return GST_STATE_CHANGE_FAILURE;
break;
Should complete first and not have the external window-handle
(glimage_sink->new_window_id) set before or during these operations to have
smooth runnings.
--
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