[688/906] display: properly shutdown if we error after context creation

The _finalize() code checks to see if the context was created before
attempting to destroy it.  We never did say that we had created the context.
This commit is contained in:
Matthew Waters 2013-04-24 14:25:21 +10:00
parent 3960306218
commit a9106ccce9

View file

@ -1225,6 +1225,8 @@ gst_gl_display_create_context (GstGLDisplay * display,
g_cond_wait (&display->priv->cond_create_context, &display->mutex);
display->context_created = TRUE;
GST_INFO ("gl thread created");
}