[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 08:05:20 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
Jan Schmidt changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #133729|0 |1
is obsolete| |
------- Comment #11 from Jan Schmidt 2009-05-01 15:05 UTC -------
Created an attachment (id=133732)
--> (http://bugzilla.gnome.org/attachment.cgi?id=133732&action=view)
better patch for audioresample drift
Attaching a better patch, which doesn't have stray g_prints, but fixes the bug
more nicely - the actual problem was that the existing rounding code for in
transform_size could calculate buffer sizes that don't contain a complete frame
of samples because it didn't include the channel count in its calculations.
For example, when going 48khz->44.1khz with stereo 32bit samples, it would
calculate that 9216 input bytes yields 8468 output bytes, which is 1058.5
output samples.
--
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