[Bug 712597] regression: playbin: buffering of live radio stream never finishes

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Jan 14 19:24:15 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=712597
  GStreamer | gstreamer (core) | 1.2.1

--- Comment #5 from Thiago Sousa Santos <thiago.sousa.santos at collabora.co.uk> 2014-01-15 03:24:11 UTC ---
Created an attachment (id=266326)
 View: https://bugzilla.gnome.org/attachment.cgi?id=266326
 Review: https://bugzilla.gnome.org/review?bug=712597&attachment=266326

multiqueue: prevent buffering forever with playbin

When prerolling/buffering, multiqueue has its buffers limit set
to 0, this means it can take an infinite amount of buffers.

When prerolling/buffering finishes, its limit is set back to 5, but
only if the current level is lower than 5. It should (almost) never be
and this will cause prerolling/buffering to need to wait to reach the
hard bytes and time limits, which are much higher.

This can lead to a very long startup time. This patch fixes this
by setting the single queues to the max(current, new_value) instead
of simply ignoring the new value and letting it as infinite(0)

https://bugzilla.gnome.org/show_bug.cgi?id=721597

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list