mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-05-18 00:12:46 +00:00
Merge branch 'Talkless-main-patch-02178' into 'main'
qt: fix segmentation fault in QtGLVideoItem::onSceneGraphInitialized Closes #2421 See merge request gstreamer/gstreamer!6244
This commit is contained in:
commit
fb5c4912b1
|
@ -706,7 +706,7 @@ QtGLVideoItemInterface::setBuffer (GstBuffer * buffer)
|
|||
void
|
||||
QtGLVideoItem::onSceneGraphInitialized ()
|
||||
{
|
||||
if (this->window() == NULL)
|
||||
if (this->priv == NULL || this->window() == NULL)
|
||||
return;
|
||||
|
||||
GST_DEBUG ("%p scene graph initialization with Qt GL context %p", this,
|
||||
|
|
Loading…
Reference in a new issue