mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
gstqmlgl: fix indent
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/1032>
This commit is contained in:
parent
a338ed98d6
commit
a92c855dd5
1 changed files with 10 additions and 6 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue