[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:
parent
01518880fa
commit
d71ab51c9f
@ -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");
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user