mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
qml: remove overwritten value
Value in tex is overwritten before being used. Removing it. CID 1320715 https://bugzilla.gnome.org/show_bug.cgi?id=754253
This commit is contained in:
parent
18d5ed0408
commit
86151cbf06
1 changed files with 0 additions and 2 deletions
|
@ -193,8 +193,6 @@ QtGLVideoItem::updatePaintNode(QSGNode * oldNode,
|
||||||
if (!texNode) {
|
if (!texNode) {
|
||||||
texNode = new QSGSimpleTextureNode ();
|
texNode = new QSGSimpleTextureNode ();
|
||||||
texNode->setOwnsTexture (true);
|
texNode->setOwnsTexture (true);
|
||||||
} else {
|
|
||||||
tex = static_cast<GstQSGTexture *> (texNode->texture());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
tex = new GstQSGTexture ();
|
tex = new GstQSGTexture ();
|
||||||
|
|
Loading…
Reference in a new issue