glimagesink: Create GL context and set up window from the streaming thread
authorSebastian Dröge <sebastian@centricular.com>
Sun, 6 Apr 2014 09:57:12 +0000 (11:57 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 7 Apr 2014 09:21:07 +0000 (11:21 +0200)
commit82b7c915bb02a9790d256d599452e5a54afda633
tree89f6510cef716a70a5aad217b641d7a1b745ce47
parent26d6151ea149805df17d59c32f60934a5550ff51
glimagesink: Create GL context and set up window from the streaming thread

gst_gl_context_create() might need to dispatch some operations to the
application's main thread, and calling this in the change_state function
can cause deadlocks.
ext/gl/gstglimagesink.c