[gstreamer-bugs] [Bug 321427] New: audioresample does invalid writes

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Mon Nov 14 04:39:13 PST 2005


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=321427
 GStreamer | gst-plugins-base | Ver: 0.9.x

           Summary: audioresample does invalid writes
           Product: GStreamer
           Version: 0.9.x
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: wingo at pobox.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
                CC: all-bugs at bugzilla.gnome.org


Originally from bug #310380, Thomas says:

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 assignee for the bug.
You are the QA contact for the bug.




More information about the Gstreamer-bugs mailing list