Commit 41771eff authored by Jacob Walser's avatar Jacob Walser

Set sync=false on videosink

parent 0be3b970
......@@ -50,6 +50,7 @@ GstElement* VideoSurface::videoSink()
qCritical("Failed to create qtquick2videosink. Make sure it is installed correctly");
return NULL;
}
g_object_set(G_OBJECT(_data->videoSink), "sync", gboolean(false), NULL);
g_signal_connect(_data->videoSink, "update", G_CALLBACK(onUpdateThunk), (void* )this);
_refed = true;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment