diff --git a/ext/qt/qtitem.cc b/ext/qt/qtitem.cc index 5806bbcff3..b20a6fb5da 100644 --- a/ext/qt/qtitem.cc +++ b/ext/qt/qtitem.cc @@ -289,6 +289,8 @@ QtGLVideoItem::onSceneGraphInitialized () GST_DEBUG ("%p created wrapped GL context %" GST_PTR_FORMAT, this, this->priv->other_context); + + emit itemInitialized(); } void diff --git a/ext/qt/qtitem.h b/ext/qt/qtitem.h index b322068f3a..8cffc24454 100644 --- a/ext/qt/qtitem.h +++ b/ext/qt/qtitem.h @@ -77,6 +77,9 @@ public: /* private for C interface ... */ QtGLVideoItemPrivate *priv; +Q_SIGNALS: + void itemInitialized(); + private Q_SLOTS: void handleWindowChanged(QQuickWindow * win); void onSceneGraphInitialized();