ffmpeg: print an error at the end if conversion failed
Fixes Ticket3477
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit fed0acebad
)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
2
ffmpeg.c
2
ffmpeg.c
@@ -514,6 +514,8 @@ static void ffmpeg_cleanup(int ret)
|
|||||||
if (received_sigterm) {
|
if (received_sigterm) {
|
||||||
av_log(NULL, AV_LOG_INFO, "Received signal %d: terminating.\n",
|
av_log(NULL, AV_LOG_INFO, "Received signal %d: terminating.\n",
|
||||||
(int) received_sigterm);
|
(int) received_sigterm);
|
||||||
|
} else if (ret) {
|
||||||
|
av_log(NULL, AV_LOG_INFO, "Conversion failed!\n");
|
||||||
}
|
}
|
||||||
term_exit();
|
term_exit();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user