From: Paul Brossier Date: Sat, 25 Mar 2017 10:47:27 +0000 (+0100) Subject: src/io/source_avcodec.c: hide EAGAIN warning, skip to next frame immediately X-Git-Tag: 0.4.5~27 X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=3e944fe4401c4d77691eb0952eea5d66a003e06f;p=aubio.git src/io/source_avcodec.c: hide EAGAIN warning, skip to next frame immediately --- diff --git a/src/io/source_avcodec.c b/src/io/source_avcodec.c index ede096ca..02943ded 100644 --- a/src/io/source_avcodec.c +++ b/src/io/source_avcodec.c @@ -374,7 +374,8 @@ void aubio_source_avcodec_readframe(aubio_source_avcodec_t *s, uint_t * read_sam } if (ret < 0) { if (ret == AVERROR(EAGAIN)) { - AUBIO_WRN("source_avcodec: output is not available right now - user must try to send new input\n"); + //AUBIO_WRN("source_avcodec: output is not available right now - user must try to send new input\n"); + goto beach; } else if (ret == AVERROR_EOF) { AUBIO_WRN("source_avcodec: the decoder has been fully flushed, and there will be no more output frames\n"); } else {