gldisplay: synchronize the searching and creation of GstGLContext's
authorMatthew Waters <matthew@centricular.com>
Tue, 21 Apr 2015 02:19:46 +0000 (12:19 +1000)
committerMatthew Waters <matthew@centricular.com>
Tue, 21 Apr 2015 02:55:24 +0000 (12:55 +1000)
commit66a5cad6c1f1feefca68e16b7c62916b25d7fd47
treeb1692647df8398e9e45537c66bb050a38e785b71
parent9827138061a6e10a629c1beb4fbfe8e16d32e385
gldisplay: synchronize the searching and creation of GstGLContext's

Ootherwise we could end up with multiple elements in different chains
each creating a context.  Fixes context creation with glvideomixer.
ext/gl/gstglbasemixer.c