mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +00:00
wayland: fix double disconnect of display.
This commit is contained in:
parent
5be6de20cb
commit
af3b6dc2b8
1 changed files with 2 additions and 1 deletions
|
@ -292,7 +292,8 @@ gst_vaapi_display_wayland_close_display(GstVaapiDisplay * display)
|
|||
}
|
||||
|
||||
if (priv->wl_display) {
|
||||
wl_display_disconnect(priv->wl_display);
|
||||
if (priv->create_display)
|
||||
wl_display_disconnect(priv->wl_display);
|
||||
priv->wl_display = NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue