playbin: Make sure to cache context types we did not store yet
https://bugzilla.gnome.org/show_bug.cgi?id=708668
This commit is contained in:
parent
8ba90931ae
commit
cac572ec5d
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user