gl/cocoa: avoid deadlock when creating context on the main thread.
authorMatthew Waters <matthew@centricular.com>
Tue, 3 Mar 2015 07:05:04 +0000 (18:05 +1100)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:31:57 +0000 (19:31 +0000)
commit35476a4cb443f7d45557a6cfcbbccf909ca6f026
tree7d540051fbbb7b599fd529547215b97835f6f98f
parent813fb633b44755fc1414104d41a3c6885b826b92
gl/cocoa: avoid deadlock when creating context on the main thread.

Make window/view creation async so that it is possible to
gst_gl_context_create from the main thread.
ext/gl/caopengllayersink.m
gst-libs/gst/gl/cocoa/gstglwindow_cocoa.h
gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m