audioresample assertion failed: (out_len >= out_processed)

Sebastian Dröge sebastian at centricular.com
Mon Jul 11 17:37:33 UTC 2016


On Mo, 2016-07-11 at 05:23 -0700, Maik Scholz wrote:
> Hi Sebastian,
> > Please try to create a (as simple as possible) testcase for
> > reproducing
> this problem.
> the attached code shows the same problem compiled with gstreamer
> 1.8.1.
> 
> It implements a pipeline with a test noise source, a switched (5
> seconds on + 5 seconds off) appsrc sine noise,
> combined with a audiomixer.
> 
> If i run that code, then i see the exception after 10 seconds.
> If I disable the "#if 1", the the code runs without exception.
> 
> My current understanding is, that the "(out_len >= out_processed)"
> exception happens when i change the caps/samplerate within a gap.

I didn't look closely at your code (or the crash), but I can confirm
that it crashes like that with 1.8 but it doesn't seem to crash at all
here with 1.9.1. It is also using a completely new resampler, so that's
not too surprising.

-- 

Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160711/b07fc44d/attachment.sig>


More information about the gstreamer-devel mailing list