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)
committerJulien Isorce <j.isorce@samsung.com>
Mon, 2 Mar 2015 07:49:26 +0000 (07:49 +0000)
commit74c294892d4bd05eb969a64c85287f387890b165
treeee546b7921d4d14a527e15ce6c77c92fced04cc0
parent4801db552def0cc25b56dfb284648f809d52d94e
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