[Bug 732908] audioresample skips samples unless input buffers have correct size

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Jul 8 14:37:45 PDT 2014


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

--- Comment #6 from Kipp <kcannon at cita.utoronto.ca> 2014-07-08 21:37:41 UTC ---
Created an attachment (id=280192)
 View: https://bugzilla.gnome.org/attachment.cgi?id=280192
 Review: https://bugzilla.gnome.org/review?bug=732908&attachment=280192

add sample count check

I don't know how to define a unit test to detect the problem fixed in this bug
report, but this patch here at least adds a safety check that detects a
mismatch between the input and output sample counts (accounting for latency and
sample rate conversion).  there's no check that the contents of the samples are
correct, but any dropping of input samples or double-counting of input samples
will be detected by this.

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