[vlc-devel] [PATCH v2 06/16] qt: report video size when qml associated surface gets enabled
Pierre Lamot
pierre at videolabs.io
Fri Aug 14 18:43:40 CEST 2020
---
modules/gui/qt/maininterface/videosurface.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/gui/qt/maininterface/videosurface.cpp b/modules/gui/qt/maininterface/videosurface.cpp
index 18f2f296fb..f491ca3d58 100644
--- a/modules/gui/qt/maininterface/videosurface.cpp
+++ b/modules/gui/qt/maininterface/videosurface.cpp
@@ -122,6 +122,7 @@ VideoSurface::VideoSurface(QQuickItem* parent)
connect(this, &QQuickItem::widthChanged, this, &VideoSurface::onSurfaceSizeChanged);
connect(this, &QQuickItem::heightChanged, this, &VideoSurface::onSurfaceSizeChanged);
+ connect(this, &QQuickItem::enabledChanged, this, &VideoSurface::onSurfaceSizeChanged);
}
QmlMainContext*VideoSurface::getCtx()
--
2.25.1
More information about the vlc-devel
mailing list