[Bug 719357] audiobasesink: does not drop late buffers

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Dec 19 12:02:17 PST 2013


https://bugzilla.gnome.org/show_bug.cgi?id=719357
  GStreamer | gst-plugins-base | git

--- Comment #9 from Wim Taymans <wim.taymans at gmail.com> 2013-12-19 20:02:12 UTC ---
Also, dropping of late samples (samples before the read pointer) is done in 

gst-libs/gst/audio/gstaudioringbuffer.c:1514

/* segment too far ahead, writer too slow, we need to drop, hopefully UNLIKELY
*/
if (G_UNLIKELY (diff < 0)) {
  /* we need to drop one segment at a time, pretend we wrote a segment. */

This is done when calculating where in the ringbuffer the sample should be
inserted, the diff is compared with the current read pointer and the sample is
dropped when it is before the read pointer.

-- 
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