projects
/
platform
/
upstream
/
gst-plugins-good.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
qml: Mark material dirty when texture buffer is updated
[platform/upstream/gst-plugins-good.git]
/
ext
/
qt
/
qtitem.cc
diff --git
a/ext/qt/qtitem.cc
b/ext/qt/qtitem.cc
index
ca8e535
..
9dc058a
100644
(file)
--- a/
ext/qt/qtitem.cc
+++ b/
ext/qt/qtitem.cc
@@
-211,6
+211,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;