projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e6a883
)
qml: Mark material dirty when texture buffer is updated
author
Sergey Borovkov
<serge.borovkov@gmail.com>
Fri, 8 Jan 2016 19:19:06 +0000
(22:19 +0300)
committer
Matthew Waters
<matthew@centricular.com>
Fri, 15 Jan 2016 03:11:52 +0000
(14:11 +1100)
Qt might not redraw the scene otherwise.
https://bugzilla.gnome.org/show_bug.cgi?id=758286
ext/qt/qtitem.cc
patch
|
blob
|
history
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;