Commit 921f44e2 authored by Nicolas Dufresne's avatar Nicolas Dufresne Committed by Gwenole Beauchesne

display: destroy display on creation failure.

This allows element to detect that the display creation has actually
Signed-off-by: default avatarGwenole Beauchesne <>
parent 67cd9d15
......@@ -503,7 +503,8 @@ gst_vaapi_display_constructed(GObject *object)
GObjectClass *parent_class;
display->priv->create_display = display->priv->display == NULL;
if (!gst_vaapi_display_create(display))
parent_class = G_OBJECT_CLASS(gst_vaapi_display_parent_class);
if (parent_class->constructed)
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