diff options
author | Sebastian Dröge <slomo@circular-chaos.org> | 2013-09-24 12:47:26 +0200 |
---|---|---|
committer | Sebastian Dröge <slomo@circular-chaos.org> | 2013-09-24 12:47:26 +0200 |
commit | cac572ec5de99dde5f60927840097ac94452e0e6 (patch) | |
tree | 145282b7284563729010b3cbc0e8055bad05481c | |
parent | 8ba90931aed21edd44ddda515665312e49c6b088 (diff) |
playbin: Make sure to cache context types we did not store yet
https://bugzilla.gnome.org/show_bug.cgi?id=708668
-rw-r--r-- | gst/playback/gstplaybin2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/playback/gstplaybin2.c b/gst/playback/gstplaybin2.c index 49565c837..91dbb0e3c 100644 --- a/gst/playback/gstplaybin2.c +++ b/gst/playback/gstplaybin2.c @@ -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); |