[Bug 741054] New: gl/cocoa: Simplify NSApplication initialisation for console apps
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Tue Dec 2 21:03:36 PST 2014
https://bugzilla.gnome.org/show_bug.cgi?id=741054
GStreamer | gst-plugins-bad | unspecified
Summary: gl/cocoa: Simplify NSApplication initialisation for
console apps
Classification: Platform
Product: GStreamer
Version: unspecified
OS/Version: All
Status: NEW
Severity: normal
Priority: Normal
Component: gst-plugins-bad
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: arun at accosted.net
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
This fixes a deadlock and makes failure to initialise the NSApp explicitly
fail. I looked at how GDK deals with this on Sebastian's suggestion, and that
looks a bit more involved -- we would need to replace the GLib poll function
with a Cocoa event poll function, and move fd polling to a separate thread. In
my mind, this is quite a lot of complexity for a bit of a corner case. Either
way, this patch should make things better, not worse, while we try to find a
more robust solution.
The GDK solution, for the curious:
https://git.gnome.org/browse/gtk+/tree/gdk/quartz/gdkeventloop-quartz.c#n12
--
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