After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 741323 - glimagesink: unstable behaviour on Mac OSX
glimagesink: unstable behaviour on Mac OSX
Status: RESOLVED DUPLICATE of bug 741054
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Mac OS
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-12-10 10:10 UTC by Thijs Vermeir
Modified: 2014-12-10 14:02 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Thijs Vermeir 2014-12-10 10:10:11 UTC
This simple pipeline does not always produce a video playing on the screen:
gst-launch-1.0 videotestsrc ! glimagesink

With git version it works halve of the time. This problem is present in the last released version (1.4.4). 
This race condition is not present when GST_DEBUG is enabled :-(
Comment 1 Thijs Vermeir 2014-12-10 13:34:38 UTC
It looks like the problem is in: cocoa/gstglcontext_cocoa.m:223.

dispatch_sync (dispatch_get_main_queue (), ... is never called (in the cases that it failes) so no window is created. I see in Apple's documentation [1] that dispatch_main() should be called from the applications main function to process blocks.

[1]https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man3/dispatch_get_main_queue.3.html
Comment 2 Sebastian Dröge (slomo) 2014-12-10 14:02:39 UTC
I'm going to work on that soonish... see bug #741054

*** This bug has been marked as a duplicate of bug 741054 ***