diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-03-31 04:31:28 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-04-29 00:09:08 +0200 |
commit | fed0acebade8d27c428da5cad483cd6a5b64b354 (patch) | |
tree | d20a19ca21aaaf4610c27d288562beb8d1da934c | |
parent | 68c3e6025fa03801519d95227da3a7b04ae1c012 (diff) | |
download | ffmpeg-fed0acebade8d27c428da5cad483cd6a5b64b354.tar.gz |
ffmpeg: print an error at the end if conversion failed
Fixes Ticket3477
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | ffmpeg.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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(); } |