GNOME Bugzilla – Bug 396835
audioconvert/audioresample combination causing buffer of 0 length and GStreamer error
Last modified: 2007-01-30 11:29:25 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
* gst/audioconvert/gstaudioconvert.c: Don't fail on 0 sized buffers. Fixes #396835.