[gstreamer-bugs] [Bug 310380] audioresample needs porting to 0.9

bugzilla-daemon at bugzilla.gnome.org bugzilla-daemon at bugzilla.gnome.org
Wed Aug 24 11:06:50 PDT 2005


Please DO NOT reply to this by email. All additional comments should be made in
the comments box of this bug report.

 http://bugzilla.gnome.org/show_bug.cgi?id=310380
 GStreamer | gst-plugins-base | Ver: HEAD CVS





------- Additional Comments From Thomas Vander Stichele  2005-08-24 18:06 -------
thanks for copying.  I ported audioresample, it uses basetransform now as well.

Some conversions make it unhappy though.

This one shows an invalid write:

 /home/thomas/gst/head/gstreamer/tools/.libs/lt-gst-launch-0.9 -v sinesrc
num-buffers=2 ! audioresample ! audio/x-raw-int,rate=16000 ! fakesink


This one throws an error, because resample writes more bytes than it was told to
(grep for "bastard" in the log), which also causes an invalid write.

/home/thomas/gst/head/gstreamer/tools/.libs/lt-gst-launch-0.9 -v sinesrc
num-buffers=2 ! audio/x-raw-int,rate=44100 ! audioresample !
audio/x-raw-int,rate=8000 ! fakesink

There are also cases where resample writes less bytes than it reported it was
going to.  The previous pipeline will probably do that for the first buffer, and
then error out on too many bytes on the second.



------- You are receiving this mail because: -------
You are the QA contact for the bug.




More information about the Gstreamer-bugs mailing list