qml6glsink: video content resizes to new item size
Overview
Mark geometry dirty when the item rectangle changes in the QtGLVideoItem::updatePaintNode method. This allows changes in the bounding rectangle to be applied to the scene graph geometry node.
I updated the Qt6 implementation at subprojects/gst-plugins-good/ext/qt6/qt6glitem.cc
and the Qt5 implementation at subprojects/gst-plugins-good/ext/qt/qtitem.cc
.
Screenshots
Here is a screen recording of the applied fix:
Screencast_20240422_104354.webm
References
Fixes #3493 (closed)