diff --git a/gst/gstbin.c b/gst/gstbin.c index c03f9e0529..4bfd6d54a9 100644 --- a/gst/gstbin.c +++ b/gst/gstbin.c @@ -3320,7 +3320,7 @@ gst_bin_update_context (GstBin * bin, GstContext * context) } } /* Not found? Add */ - if (l != NULL) + if (l == NULL) bin->priv->contexts = g_list_prepend (bin->priv->contexts, gst_context_ref (context)); GST_OBJECT_UNLOCK (bin);