diff options
author | Dmitry Shusharin <pmdvsh@gmail.com> | 2021-08-04 12:33:06 +0700 |
---|---|---|
committer | GStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org> | 2021-08-16 11:25:58 +0000 |
commit | a92c855dd520b0eff2da6b770ac62c3990306ea2 (patch) | |
tree | b886cf99135ac608b7d02b0aa5b59df93d686c4c | |
parent | a338ed98d65e40f22e62e4531cb18e52d2065003 (diff) | |
download | gstreamer-plugins-good-a92c855dd520b0eff2da6b770ac62c3990306ea2.tar.gz |
gstqmlgl: fix indent
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/1032>
-rw-r--r-- | ext/qt/qtitem.cc | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/ext/qt/qtitem.cc b/ext/qt/qtitem.cc index 48399a71d..31deedb08 100644 --- a/ext/qt/qtitem.cc +++ b/ext/qt/qtitem.cc @@ -603,18 +603,22 @@ QtGLVideoItemInterface::initWinSys () } void -QtGLVideoItem::handleWindowChanged(QQuickWindow *win) +QtGLVideoItem::handleWindowChanged (QQuickWindow * win) { if (win) { - if (win->isSceneGraphInitialized()) - win->scheduleRenderJob(new RenderJob(std::bind(&QtGLVideoItem::onSceneGraphInitialized, this)), QQuickWindow::BeforeSynchronizingStage); + if (win->isSceneGraphInitialized ()) + win->scheduleRenderJob (new RenderJob (std:: + bind (&QtGLVideoItem::onSceneGraphInitialized, this)), + QQuickWindow::BeforeSynchronizingStage); else - connect(win, SIGNAL(sceneGraphInitialized()), this, SLOT(onSceneGraphInitialized()), Qt::DirectConnection); + connect (win, SIGNAL (sceneGraphInitialized ()), this, + SLOT (onSceneGraphInitialized ()), Qt::DirectConnection); - connect(win, SIGNAL(sceneGraphInvalidated()), this, SLOT(onSceneGraphInvalidated()), Qt::DirectConnection); + connect (win, SIGNAL (sceneGraphInvalidated ()), this, + SLOT (onSceneGraphInvalidated ()), Qt::DirectConnection); } else { this->priv->qt_context = NULL; - this->priv->initted = FALSE; + this->priv->initted = FALSE; } } |