mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 07:16:55 +00:00
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
This commit is contained in:
parent
4c362768fc
commit
4c52518ef5
1 changed files with 1 additions and 0 deletions
|
@ -1881,6 +1881,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);
|
||||
|
|
Loading…
Reference in a new issue