mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-08-04 04:35:06 +00:00
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 */
|
/* Not found? Add */
|
||||||
if (l != NULL)
|
if (l == NULL)
|
||||||
playbin->contexts =
|
playbin->contexts =
|
||||||
g_list_prepend (playbin->contexts, gst_context_ref (context));
|
g_list_prepend (playbin->contexts, gst_context_ref (context));
|
||||||
GST_OBJECT_UNLOCK (playbin);
|
GST_OBJECT_UNLOCK (playbin);
|
||||||
|
|
Loading…
Reference in a new issue