[gstreamer-bugs] [Bug 580470] [audioresample] causes pipelines to go out of sync and becomes noticable after 10 minutes

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Fri May 1 06:32:54 PDT 2009


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=580470

  GStreamer | gst-plugins-base | Ver: git




------- Comment #9 from Jan Schmidt  2009-05-01 13:32 UTC -------
Created an attachment (id=133729)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=133729&action=view)
patch for audioresample drift

Thanks for the test file.

It looks like the problem is from losing samples when doing non-integral
resample ratios - in this case 44100/48000. Attaching a patch that fixes this
the same way legacyresample did - by always allocating the output buffer with
space for an extra sample, and shrinking the GST_BUFFER_SIZE when it isn't
used. I haven't been able to find any problems with this patch - and the rest
of audioresample seems already set up to support it.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=580470.




More information about the Gstreamer-bugs mailing list