[vlc-commits] qt: report video size when qml associated surface gets enabled
Pierre Lamot
git at videolan.org
Thu Aug 20 10:20:57 CEST 2020
vlc | branch: master | Pierre Lamot <pierre at videolabs.io> | Fri Aug 14 16:11:47 2020 +0200| [e2eccfc5908b88a6d28ffa9750073dcdcc7eb7e6] | committer: Pierre Lamot
qt: report video size when qml associated surface gets enabled
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e2eccfc5908b88a6d28ffa9750073dcdcc7eb7e6
---
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()
More information about the vlc-commits
mailing list