Commit 215c2fe0 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit '22a6d48b'

* commit '22a6d48b':
  avconv: Print the avfilter errors

Conflicts:
	ffmpeg.c
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 50255b7a 22a6d48b
...@@ -3853,11 +3853,15 @@ static int transcode(void) ...@@ -3853,11 +3853,15 @@ static int transcode(void)
ret = transcode_step(); ret = transcode_step();
if (ret < 0) { if (ret < 0) {
if (ret == AVERROR_EOF || ret == AVERROR(EAGAIN)) if (ret == AVERROR_EOF || ret == AVERROR(EAGAIN)) {
continue; continue;
} else {
char errbuf[128];
av_strerror(ret, errbuf, sizeof(errbuf));
av_log(NULL, AV_LOG_ERROR, "Error while filtering.\n"); av_log(NULL, AV_LOG_ERROR, "Error while filtering: %s\n", errbuf);
break; break;
}
} }
/* dump report by using the output first video and audio streams */ /* dump report by using the output first video and audio streams */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment