gl/cocoa: make gst_gl_window_cocoa_send_message_async re-entrant
authorJulien Isorce <julien.isorce@gmail.com>
Sat, 12 Apr 2014 16:33:44 +0000 (17:33 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:31:36 +0000 (19:31 +0000)
commit9d396a24955a52e2e7b35e2f98353e1b6976c2ab
tree39463dd4feba2187cc0bda0230ebfc78bd2cf3d6
parentaab3ef1b5d27f0eb1b2f7d8d2194af8fedfb802b
gl/cocoa: make gst_gl_window_cocoa_send_message_async re-entrant

Backends that use g_main_context_invoke are re-entrant.

Il allows to call two nested gst_gl_context_thread_add.
ex: init_upload / init_colorconvert
gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m