From 38b26c2f3f7fa76f40cf3e0d40629b257b097f4e Mon Sep 17 00:00:00 2001 From: Dmitry Shusharin Date: Fri, 30 Jul 2021 17:20:25 +0700 Subject: [PATCH] gstqmlgl: correct validation for Qt GL context Part-of: --- ext/qt/gstqsgtexture.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/qt/gstqsgtexture.cc b/ext/qt/gstqsgtexture.cc index 1ba33b573b..fb85dfb5c3 100644 --- a/ext/qt/gstqsgtexture.cc +++ b/ext/qt/gstqsgtexture.cc @@ -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_)