diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-03-20 20:33:27 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-03-20 20:33:27 +0100 |
commit | 215c2fe0ae2a5105439c7abb484bc0ef1fc22934 (patch) | |
tree | b270e219fca32d3d69bf28ea94336dc6430cae58 /ffmpeg.c | |
parent | 50255b7a865f0dd4fecf8d1e337f96b92b4b406e (diff) | |
parent | 22a6d48b0d7367b3a45dd6db245f8ffaaa364995 (diff) | |
download | ffmpeg-215c2fe0ae2a5105439c7abb484bc0ef1fc22934.tar.gz |
Merge commit '22a6d48b0d7367b3a45dd6db245f8ffaaa364995'
* commit '22a6d48b0d7367b3a45dd6db245f8ffaaa364995':
avconv: Print the avfilter errors
Conflicts:
ffmpeg.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -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 */ |