[Bug 746012] gl: add GstGLDisplayCocoa to handle NSApp initialization
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Wed Mar 11 01:10:42 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=746012
--- Comment #1 from Julien Isorce <julien.isorce at gmail.com> ---
Created attachment 299073
--> https://bugzilla.gnome.org/attachment.cgi?id=299073&action=edit
gl: add GstGLDisplayCocoa
This patch also resolves the acquire(gmaincontext)/release case. Indeed if
NSApp is still nil at this point it means that we can assume this is a
debugging application (so we can allow us to wait a bit more for a glib loop to
run in the main thread). Otherwise in a real application the user would have
already initialize NSApp.
Also it now fails the pipeline if we could not initialize NSApp.
Note that in any case, not initializating the NSApp will make gstgl wait
indefinitely and deadlock. So better to check and fails the pipeline in the
worst case.
--
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