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_)