aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-03-31 04:31:28 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-05-05 00:09:17 +0200
commit9d0ff6436ef748f9f81eb5e4cfe93c34461a9997 (patch)
tree5fc12ca31148a39f9dc10f8bb62b91264c4b2c21
parent02b7b125b52216dae7415c57eafd57208d63baa6 (diff)
downloadffmpeg-9d0ff6436ef748f9f81eb5e4cfe93c34461a9997.tar.gz
ffmpeg: print an error at the end if conversion failed
Fixes Ticket3477 Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit fed0acebade8d27c428da5cad483cd6a5b64b354) 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 1d3cfd4c03..5caac1f36f 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -514,6 +514,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();
}