[Bug 646570] New: baseaudiosink: don't allow aligning behind the read-segment
bugzilla at gnome.org
Sat Apr 2 14:22:11 PDT 2011
GStreamer | gst-plugins-base | git
Summary: baseaudiosink: don't allow aligning behind the
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: havard.graff at tandberg.com
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME target: ---
GNOME version: ---
Created an attachment (id=184986)
Given a large enough drift-tolerance, one could end up in a situation
where one would keep aligning the written buffers behind the current
read-segment position. The result for the reader would be complete
silence, possible preceded by very choppy audio.
By checking the available headroom, one can determine if there is
room to do alignment, or if one should resort to a resync instead to get
the pointers back on track.
Also refactor the alignment-logic out of the render function for cleaner
NOTE: I saw that the discont-message had been made into a non-warning. I
changed that back, since a discont will *always* become a glitch in the audio,
and any self-respecting application should try to avoid these, and would want
to be notified when it happens.
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