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)
commit38b5a9bf3396720c615d63d8ec420e206a70964d
tree8e209f024efc758d1136852cbeea59099c492192
parenta4d74fda9a1a279fdf27534a53634095cc094c09
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