mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
[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
3960306218
commit
a9106ccce9
1 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue