gl/cocoa: register only one custom nsapp loop
authorJulien Isorce <j.isorce@samsung.com>
Sun, 1 Mar 2015 19:57:23 +0000 (19:57 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:31:56 +0000 (19:31 +0000)
commitbefc24469cafd9847f43ab98f6e43ac98411e68d
tree53023b3f4d387bfc9ff9ee310c4cc01775393983
parent075a4ffaff0f3585d4da23a24ba0650cb5845bd2
gl/cocoa: register only one custom nsapp loop

Otherwise the pipeline stalls when running
more than one glimagesink with gst-launch.

Also only register the custom nsapp loop
when setting up the nsapp from gstgl.
gst-libs/gst/gl/cocoa/gstgl_cocoa_private.h
gst-libs/gst/gl/cocoa/gstglcontext_cocoa.m