After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 396835 - audioconvert/audioresample combination causing buffer of 0 length and GStreamer error
audioconvert/audioresample combination causing buffer of 0 length and GStream...
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
0.10.11
Other Linux
: Normal normal
: 0.10.12
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-01-15 11:51 UTC by Zaheer Abbas Merali
Modified: 2007-01-30 11:29 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Zaheer Abbas Merali 2007-01-15 11:51:45 UTC
pipeline of: gst-launch -v audiotestsrc samplesperbuffer=2 ! audioconvert ! \
  audio/x-raw-int,rate=48000,channels=2,width=16,depth=16 ! \
  audioresample ! audioconvert ! audio/x-raw-float,channels=1,rate=22050 ! \
  vorbisenc ! oggmux ! filesink location=/tmp/foo.ogg

causes: ** (flumotion-job:24487): CRITICAL **: audio_convert_convert: assertion `src != NULL' failed

gstbasesrc.c(1614): gst_base_src_loop (): /pipeline-audio-encoder/eater:video-source:audio:
streaming task paused, reason error (-5)

This was initially found with a flumotion stream using a firewire source.  Link for flumotion bug is: https://core.fluendo.com/flumotion/trac/ticket/556
Comment 1 Wim Taymans 2007-01-30 11:29:25 UTC
        * gst/audioconvert/gstaudioconvert.c:
        Don't fail on 0 sized buffers. Fixes #396835.