gstqmlgl: fix indent
authorDmitry Shusharin <pmdvsh@gmail.com>
Wed, 4 Aug 2021 05:33:06 +0000 (12:33 +0700)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Mon, 16 Aug 2021 11:25:58 +0000 (11:25 +0000)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/1032>

ext/qt/qtitem.cc

index 48399a7..31deedb 100644 (file)
@@ -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;
   }
 }