ffmpeg: dont print "Conversion failed" if conversion has never started
Found-by: jamrial Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
2eddf3a6ef
commit
ed72dae4cf
2
ffmpeg.c
2
ffmpeg.c
@ -517,7 +517,7 @@ 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) {
|
} else if (ret && transcode_init_done) {
|
||||||
av_log(NULL, AV_LOG_INFO, "Conversion failed!\n");
|
av_log(NULL, AV_LOG_INFO, "Conversion failed!\n");
|
||||||
}
|
}
|
||||||
term_exit();
|
term_exit();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user