mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
glcontext: propagate the version/extension failure upwards
Otherwise the calling code has no idea that the context failed to be created fully. https://bugzilla.gnome.org/show_bug.cgi?id=749284
This commit is contained in:
parent
50d3161ac5
commit
16522a737c
1 changed files with 4 additions and 1 deletions
|
@ -1313,7 +1313,10 @@ gst_gl_context_create_thread (GstGLContext * context)
|
|||
g_free (display_api_s);
|
||||
|
||||
GST_DEBUG_OBJECT (context, "Filling info");
|
||||
gst_gl_context_fill_info (context, error);
|
||||
if (!gst_gl_context_fill_info (context, error)) {
|
||||
g_assert (error == NULL || *error != NULL);
|
||||
goto failure;
|
||||
}
|
||||
|
||||
context->priv->alive = TRUE;
|
||||
|
||||
|
|
Loading…
Reference in a new issue