gldownload: handle passthrough without a critical
authorMatthew Waters <matthew@centricular.com>
Wed, 7 Jun 2023 03:46:39 +0000 (13:46 +1000)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 8 Jun 2023 19:46:56 +0000 (19:46 +0000)
commit2f2eef88cb2c1740721c1eea83cd0988156194ea
treef3c0d26ed92b3d97387cf00aca6b65532bb593e2
parent33e789e06751b375dd0fe3642eb7b9cd24deff96
gldownload: handle passthrough without a critical

With passthrough mode, gldownload/glbasefilter may not ever retrieve a
relevant GstGLContext as it doesn't actually query the surrounding
elements.  Guard against that.

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