aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-03-31 04:31:28 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-04-29 00:09:08 +0200
commitfed0acebade8d27c428da5cad483cd6a5b64b354 (patch)
treed20a19ca21aaaf4610c27d288562beb8d1da934c
parent68c3e6025fa03801519d95227da3a7b04ae1c012 (diff)
downloadffmpeg-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.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 9edc721688..6f909555f9 100644
--- a/ffmpeg.c
+++ b/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();
}