[Bug 706553] context creation is not thread safe

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Aug 29 04:29:41 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=706553
  GStreamer | gst-plugins-gl | git

--- Comment #4 from Sebastian Dröge (slomo) <slomo at circular-chaos.org> 2013-08-29 11:29:35 UTC ---
(In reply to comment #3)
> Just a note that this also applies to the following code fragment.
> 
> gst_gl_context_create ()
> gst_gl_window_send_message () /* loop may not have started yet */
> 
> and by extension, pretty much anything that relies on the loop actually running
> after context_create() is called.
> 
> IMHO this reduces the usefulness of the run/quit counter/flag option and leaves
> us with unlocking the render_lock when the loop actually runs.

Ack, do you see a clean solution for this that doesn't introduce new race
conditions? :)

> Also, all of this could be moot when we stop creating threads to marshall GL
> calls into.

That will probably be always there, no? Like for the video sink. Even if we
don't do it for some contexts.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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