eagl: Don't dispatch_sync() to the main thread if we are on the main thread
authorSebastian Dröge <sebastian@centricular.com>
Tue, 23 Jun 2015 09:05:06 +0000 (11:05 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 23 Jun 2015 09:05:06 +0000 (11:05 +0200)
commit0bff481011cf74c59869b511393d1696b570e3d5
treeea595d65b2e7a716bd61ff21684392d1e508685f
parent1ece34af2cda3cfe2bbd2d69e6fbf6bea696b098
eagl: Don't dispatch_sync() to the main thread if we are on the main thread

This will otherwise deadlock.

https://bugzilla.gnome.org/show_bug.cgi?id=751101
gst-libs/gst/gl/eagl/gstglcontext_eagl.m