glimagesink: only allow setting the GL display/context if it is a valid value
authorMatthew Waters <matthew@centricular.com>
Tue, 12 Jul 2022 04:47:20 +0000 (14:47 +1000)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 13 Jul 2022 01:20:00 +0000 (01:20 +0000)
commit390518a296c1de0637d66463d3b2e4ab26a2a092
treec7c9996f888992337eab0852ce6516cd7c68baca
parent073df3d82094be9c8ed397f9e96146d9a205d0f9
glimagesink: only allow setting the GL display/context if it is a valid value

Otherwise, when setting the external application context, then the
display may be cleared and then not used and the asharing mechanism does
not work anymore.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2750>
subprojects/gst-plugins-base/ext/gl/gstglimagesink.c