Skip to content

qmlglsink: fix crash when created/destroyed in quick succession

The crash is caused by a race condition where the render thread calls a method on the QtGLVideoItem instance that was previously destroyed by the main thread. Also, less frequently, QtGLVideoItem::onSceneGraphInitialized is called when QQuickItem::window is null, also causing a crash.

Fixes #798 (closed)

Merge request reports