diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2013-05-08 14:52:18 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2013-05-08 14:53:52 +0200 |
commit | d4d4a043e0669c4f892ac6924ba10a56a8fa5da1 (patch) | |
tree | 70c1d4a0b118b6a9395865abb6349c8ef4c57cac | |
parent | 5ae7d8b47cbf9c6e93e613fea54f6d7313057339 (diff) | |
download | gstreamer-plugins-base-d4d4a043e0669c4f892ac6924ba10a56a8fa5da1.tar.gz |
uridecodebin: Always store queue2 elements for later removal
Otherwise we accumulate more and more queue2 elements, and let each
of them start a thread doing nothing but waiting each time uridecodebin
goes to PAUSED.
https://bugzilla.gnome.org/show_bug.cgi?id=699794
-rw-r--r-- | gst/playback/gsturidecodebin.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/playback/gsturidecodebin.c b/gst/playback/gsturidecodebin.c index a28a56676..33fda365e 100644 --- a/gst/playback/gsturidecodebin.c +++ b/gst/playback/gsturidecodebin.c @@ -1807,6 +1807,7 @@ type_found (GstElement * typefind, guint probability, g_object_set (queue, "use-buffering", TRUE, NULL); g_object_set (queue, "ring-buffer-max-size", decoder->ring_buffer_max_size, NULL); + decoder->queue = queue; GST_DEBUG_OBJECT (decoder, "check media-type %s, %d", media_type, decoder->download); |