Skip to content

Commit

Permalink
Merge commit '22a6d48b0d7367b3a45dd6db245f8ffaaa364995'
Browse files Browse the repository at this point in the history
* commit '22a6d48b0d7367b3a45dd6db245f8ffaaa364995':
  avconv: Print the avfilter errors

Conflicts:
	ffmpeg.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
  • Loading branch information
michaelni committed Mar 20, 2015
2 parents 50255b7 + 22a6d48 commit 215c2fe
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions ffmpeg.c
Expand Up @@ -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 */
Expand Down

0 comments on commit 215c2fe

Please sign in to comment.