Commit cac572ec authored by Sebastian Dröge's avatar Sebastian Dröge
Browse files

playbin: Make sure to cache context types we did not store yet

https://bugzilla.gnome.org/show_bug.cgi?id=708668
parent 8ba90931
......@@ -4087,7 +4087,7 @@ gst_play_bin_update_context (GstPlayBin * playbin, GstContext * context)
}
}
/* Not found? Add */
if (l != NULL)
if (l == NULL)
playbin->contexts =
g_list_prepend (playbin->contexts, gst_context_ref (context));
GST_OBJECT_UNLOCK (playbin);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment