X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=ffmpeg.c;h=67ce1f3a3573657b512085ff06614132210bb67c;hb=d76559fb5f529db5f14d304936cadebce902b68c;hp=0f67b113d37d53c4142938611aaff7e5ceb0ab09;hpb=50255b7a865f0dd4fecf8d1e337f96b92b4b406e;p=ffmpeg diff --git a/ffmpeg.c b/ffmpeg.c index 0f67b113d37..67ce1f3a357 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -3853,11 +3853,15 @@ static int transcode(void) ret = transcode_step(); if (ret < 0) { - if (ret == AVERROR_EOF || ret == AVERROR(EAGAIN)) + if (ret == AVERROR_EOF || ret == AVERROR(EAGAIN)) { continue; + } else { + char errbuf[128]; + av_strerror(ret, errbuf, sizeof(errbuf)); - av_log(NULL, AV_LOG_ERROR, "Error while filtering.\n"); - break; + av_log(NULL, AV_LOG_ERROR, "Error while filtering: %s\n", errbuf); + break; + } } /* dump report by using the output first video and audio streams */