From 3e944fe4401c4d77691eb0952eea5d66a003e06f Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Sat, 25 Mar 2017 11:47:27 +0100 Subject: [PATCH] src/io/source_avcodec.c: hide EAGAIN warning, skip to next frame immediately --- src/io/source_avcodec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 { -- 2.11.0