mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
bin: Make sure to cache context types that we did not store yet
https://bugzilla.gnome.org/show_bug.cgi?id=708668
This commit is contained in:
parent
e658379534
commit
ccfca8f66f
1 changed files with 1 additions and 1 deletions
|
@ -3320,7 +3320,7 @@ gst_bin_update_context (GstBin * bin, GstContext * context)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/* Not found? Add */
|
/* Not found? Add */
|
||||||
if (l != NULL)
|
if (l == NULL)
|
||||||
bin->priv->contexts =
|
bin->priv->contexts =
|
||||||
g_list_prepend (bin->priv->contexts, gst_context_ref (context));
|
g_list_prepend (bin->priv->contexts, gst_context_ref (context));
|
||||||
GST_OBJECT_UNLOCK (bin);
|
GST_OBJECT_UNLOCK (bin);
|
||||||
|
|
Loading…
Reference in a new issue