ffmpeg: print an error at the end if conversion failed
Fixes Ticket3477 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
68c3e6025f
commit
fed0acebad
1 changed files with 2 additions and 0 deletions
2
ffmpeg.c
2
ffmpeg.c
|
|
@ -517,6 +517,8 @@ static void ffmpeg_cleanup(int ret)
|
|||
if (received_sigterm) {
|
||||
av_log(NULL, AV_LOG_INFO, "Received signal %d: terminating.\n",
|
||||
(int) received_sigterm);
|
||||
} else if (ret) {
|
||||
av_log(NULL, AV_LOG_INFO, "Conversion failed!\n");
|
||||
}
|
||||
term_exit();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue