diff --git a/subprojects/gst-plugins-good/ext/qt6/qt6glwindow.cc b/subprojects/gst-plugins-good/ext/qt6/qt6glwindow.cc index 3486c54e79..661187c6eb 100644 --- a/subprojects/gst-plugins-good/ext/qt6/qt6glwindow.cc +++ b/subprojects/gst-plugins-good/ext/qt6/qt6glwindow.cc @@ -103,7 +103,7 @@ Qt6GLWindow::Qt6GLWindow (QWindow * parent, QQuickWindow *src) this->priv->internal_format = GL_RGBA; connect (source, SIGNAL(beforeRendering()), this, SLOT(beforeRendering()), Qt::DirectConnection); - connect (source, SIGNAL(afterRendering()), this, SLOT(afterRendering()), Qt::DirectConnection); + connect (source, SIGNAL(afterFrameEnd()), this, SLOT(afterFrameEnd()), Qt::DirectConnection); if (source->isSceneGraphInitialized()) source->scheduleRenderJob(new RenderJob(std::bind(&Qt6GLWindow::onSceneGraphInitialized, this)), QQuickWindow::BeforeSynchronizingStage); else @@ -201,7 +201,7 @@ Qt6GLWindow::beforeRendering() } void -Qt6GLWindow::afterRendering() +Qt6GLWindow::afterFrameEnd() { gboolean ret; guint width, height; diff --git a/subprojects/gst-plugins-good/ext/qt6/qt6glwindow.h b/subprojects/gst-plugins-good/ext/qt6/qt6glwindow.h index c964da23b0..3c0fc14d97 100644 --- a/subprojects/gst-plugins-good/ext/qt6/qt6glwindow.h +++ b/subprojects/gst-plugins-good/ext/qt6/qt6glwindow.h @@ -45,7 +45,7 @@ public: private Q_SLOTS: void beforeRendering (); - void afterRendering (); + void afterFrameEnd (); void onSceneGraphInitialized (); void onSceneGraphInvalidated ();