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
@ -603,15 +603,19 @@ QtGLVideoItemInterface::initWinSys ()
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
QtGLVideoItem::handleWindowChanged(QQuickWindow *win)
|
QtGLVideoItem::handleWindowChanged (QQuickWindow * win)
|
||||||
{
|
{
|
||||||
if (win) {
|
if (win) {
|
||||||
if (win->isSceneGraphInitialized())
|
if (win->isSceneGraphInitialized ())
|
||||||
win->scheduleRenderJob(new RenderJob(std::bind(&QtGLVideoItem::onSceneGraphInitialized, this)), QQuickWindow::BeforeSynchronizingStage);
|
win->scheduleRenderJob (new RenderJob (std::
|
||||||
|
bind (&QtGLVideoItem::onSceneGraphInitialized, this)),
|
||||||
|
QQuickWindow::BeforeSynchronizingStage);
|
||||||
else
|
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 {
|
} else {
|
||||||
this->priv->qt_context = NULL;
|
this->priv->qt_context = NULL;
|
||||||
this->priv->initted = FALSE;
|
this->priv->initted = FALSE;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user