mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 17:51:16 +00:00
fix: qml6glsink: Notify that the returned QSGNode node has changes
Sets the QSGNode::DirtyMaterial bit when a new buffer is used for the material's texture Fixes: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/3469 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6609>
This commit is contained in:
parent
687b3a2027
commit
942415dce0
1 changed files with 2 additions and 0 deletions
|
@ -325,6 +325,8 @@ Qt6GLVideoItem::updatePaintNode(QSGNode * oldNode,
|
|||
GST_TRACE ("old buffer %p was not bound yet, unreffing", old_buffer);
|
||||
gst_buffer_unref (old_buffer);
|
||||
} else {
|
||||
texNode->markDirty(QSGNode::DirtyMaterial);
|
||||
|
||||
GstBuffer *tmp_buffer;
|
||||
|
||||
GST_TRACE ("old buffer %p was bound, queueing up for later", old_buffer);
|
||||
|
|
Loading…
Reference in a new issue