[Bug 778434] applemedia: race condition in videotexturecache.m

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Feb 10 11:10:00 UTC 2017


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

--- Comment #4 from Nick Kallen <socialmediamaster9000 at gmail.com> ---
The fix works because 

https://github.com/GStreamer/gst-plugins-bad/blob/95c842a860bef721390d9209411109fe6dff69cc/gst-libs/gst/gl/gstglbasememory.c#L445

gst_gl_context_thread_add (mem->context, (GstGLContextThreadFunc)
_destroy_gl_objects, mem);

whereas

if (mem->notify) mem->notify (mem->user_data);

An alternative fix is to run mem->notify on the context thread. But that
assumes all user_data is gl-related which may or may not be the intent of the
design.

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