diff options
author | Sergey Borovkov <serge.borovkov@gmail.com> | 2016-01-08 22:19:06 +0300 |
---|---|---|
committer | Matthew Waters <matthew@centricular.com> | 2016-01-15 14:17:00 +1100 |
commit | caee1d0446122f2afdf74fec9db2846c687d998a (patch) | |
tree | 9e6a1b9cf50ac19879eb627fce0115400c3b5a1a | |
parent | 870e04fde7412f78fa5710d3dc6c153986caa0a2 (diff) | |
download | gstreamer-plugins-bad-caee1d0446122f2afdf74fec9db2846c687d998a.tar.gz |
qml: Mark material dirty when texture buffer is updated
Qt might not redraw the scene otherwise.
https://bugzilla.gnome.org/show_bug.cgi?id=758286
-rw-r--r-- | ext/qt/qtitem.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/qt/qtitem.cc b/ext/qt/qtitem.cc index 5786c4110..ab64d9e97 100644 --- a/ext/qt/qtitem.cc +++ b/ext/qt/qtitem.cc @@ -189,6 +189,7 @@ QtGLVideoItem::updatePaintNode(QSGNode * oldNode, tex = static_cast<GstQSGTexture *> (texNode->texture()); tex->setCaps (this->priv->caps); tex->setBuffer (this->priv->buffer); + texNode->markDirty(QSGNode::DirtyMaterial); if (this->priv->force_aspect_ratio) { src.w = this->priv->display_width; |