Commit 1d41990b authored by Sergey Borovkov's avatar Sergey Borovkov Committed by Matthew Waters

qml: Mark material dirty when texture buffer is updated

Qt might not redraw the scene otherwise.
parent 0e6a8838
......@@ -211,6 +211,7 @@ QtGLVideoItem::updatePaintNode(QSGNode * oldNode,
tex = static_cast<GstQSGTexture *> (texNode->texture());
tex->setCaps (this->priv->caps);
tex->setBuffer (this->priv->buffer);
if (this->priv->force_aspect_ratio) {
src.w = this->priv->display_width;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment