gtkglsink: expose the created display and context correctly
authorMatthew Waters <matthew@centricular.com>
Fri, 1 Sep 2017 05:00:12 +0000 (15:00 +1000)
committerMatthew Waters <matthew@centricular.com>
Tue, 5 Sep 2017 11:16:33 +0000 (21:16 +1000)
commit03e96f3ceb76704ea1ec0812d99d33415dd4fb2c
treed922d97e790e18a2d2fdc6584ed2d84be64be01d
parentb41dd59061e55b639f043a2c9f62197aca8fac0e
gtkglsink: expose the created display and context correctly

1. Propagate the GstGLDisplay we create
2. Add the created GstGLContext to the propagated GstGLDisplay

Otherwise with multi-branch GL pipelines involving gtkglsink, things
will fall apart and errors will be genarated somewhere.
ext/gtk/gstgtkglsink.c
ext/gtk/gtkgstglwidget.c
gst-libs/gst/gl/gstglutils.c
gst-libs/gst/gl/gstglutils.h