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)
commit6cb6d8f9e8585d12b50731d4431d9ab467c5a67d
tree1b92ea03a88f8050039ea00ba52d8026747e8191
parent8ba1fbbe6480ff7f8b5a451cb10c7d5c76ec1bad
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
ext/gl/gstglimagesink.c
ext/gl/gstgltestsrc.c
gst-libs/gst/gl/gstglbasefilter.c
gst-libs/gst/gl/gstglcontext.c
gst-libs/gst/gl/gstgldisplay.c
gst-libs/gst/gl/gstgldisplay.h