Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[nemo-qtmultimedia-plugins] Ensure new nodes have valid geometry.
Set the geometryChanged flag after creating a new node otherwise its
geometry won't be initialized unless something else coincidentally set
the flag.
  • Loading branch information
adenexter committed Aug 1, 2014
1 parent 600c246 commit 27a4d2e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/videotexturebackend/videotexturebackend.cpp
Expand Up @@ -632,6 +632,7 @@ QSGNode *NemoVideoTextureBackend::updatePaintNode(QSGNode *oldNode, QQuickItem::

if (!node) {
node = new GStreamerVideoNode(m_texture);
m_geometryChanged = true;
}

if (m_geometryChanged) {
Expand Down

0 comments on commit 27a4d2e

Please sign in to comment.