wayland: fix double disconnect of display.

This commit is contained in:
Gwenole Beauchesne 2012-07-25 10:39:04 +02:00
parent 5be6de20cb
commit af3b6dc2b8

View file

@ -292,6 +292,7 @@ gst_vaapi_display_wayland_close_display(GstVaapiDisplay * display)
}
if (priv->wl_display) {
if (priv->create_display)
wl_display_disconnect(priv->wl_display);
priv->wl_display = NULL;
}