mirror of https://git.ffmpeg.org/ffmpeg.git
Merge commit '22a6d48b0d7367b3a45dd6db245f8ffaaa364995'
* commit '22a6d48b0d7367b3a45dd6db245f8ffaaa364995': avconv: Print the avfilter errors Conflicts: ffmpeg.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
215c2fe0ae
8
ffmpeg.c
8
ffmpeg.c
|
@ -3853,12 +3853,16 @@ 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 */
|
||||||
print_report(0, timer_start, cur_time);
|
print_report(0, timer_start, cur_time);
|
||||||
|
|
Loading…
Reference in New Issue