gstqmlgl: correct validation for Qt GL context

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/1032>
This commit is contained in:
Dmitry Shusharin 2021-07-30 17:20:25 +07:00 committed by GStreamer Marge Bot
parent 211aaaf8b8
commit 38b26c2f3f

View file

@ -113,7 +113,7 @@ GstQSGTexture::bind ()
guint tex_id;
gboolean use_dummy_tex = TRUE;
if (!this->qt_context_)
if (!GST_IS_GL_CONTEXT(this->qt_context_))
goto out;
if (!this->buffer_)