Browse Source

ffmpeg: dont print "Conversion failed" if conversion has never started

Found-by: jamrial
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.3
Michael Niedermayer 11 years ago
parent
commit
ed72dae4cf
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ffmpeg.c

+ 1
- 1
ffmpeg.c View File

@@ -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…
Cancel
Save