[Bug 776540] GstGL: Occasional assertion failures on GST_IS_GL_DISPLAY and GST_IS_GL_CONTEXT

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Jan 2 11:02:07 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=776540

Matthew Waters (ystreet00) <ystreet00 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #6 from Matthew Waters (ystreet00) <ystreet00 at gmail.com> ---
This may all be because checkBusMessages() at
https://github.com/PetrosKataras/Cinder/blob/master/src/cinder/linux/GstPlayer.cpp#L125
is only responding to the async bus handler.  To be able to correctly and
non-racily respond to need-context messages, you need to add a sync bus handler
for (at the very least) the need-context message.

The two options for that are using:
1. gst_bus_set_sync_handler(), or;
2. gst_bus_enable_sync_message_emission() and the 'sync-message' signal on the
bus
(https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstBus.html#GstBus-sync-message)

Does adding the synchronous bus handler for the 'need-context' message help the
situation?

-- 
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