[FFmpeg-cvslog] ffmpeg: print an error at the end if conversion failed
Michael Niedermayer
git at videolan.org
Tue Apr 29 00:34:29 CEST 2014
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Mar 31 04:31:28 2014 +0200| [fed0acebade8d27c428da5cad483cd6a5b64b354] | committer: Michael Niedermayer
ffmpeg: print an error at the end if conversion failed
Fixes Ticket3477
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=fed0acebade8d27c428da5cad483cd6a5b64b354
---
ffmpeg.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/ffmpeg.c b/ffmpeg.c
index 9edc721..6f90955 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();
}
More information about the ffmpeg-cvslog
mailing list