mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
ffmpeg:Fix negative verbositiy
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
9c3ad1afc8
commit
17ee7b5515
4
ffmpeg.c
4
ffmpeg.c
@ -1441,7 +1441,7 @@ static void print_report(AVFormatContext **output_files,
|
||||
if (ti1 < 0.01)
|
||||
ti1 = 0.01;
|
||||
|
||||
if (verbose || is_last_report) {
|
||||
if (verbose > 0 || is_last_report) {
|
||||
bitrate = (double)(total_size * 8) / ti1 / 1000.0;
|
||||
|
||||
snprintf(buf + strlen(buf), sizeof(buf) - strlen(buf),
|
||||
@ -4089,7 +4089,7 @@ static void opt_target(const char *arg)
|
||||
}
|
||||
}
|
||||
}
|
||||
if(verbose && norm != UNKNOWN)
|
||||
if(verbose > 0 && norm != UNKNOWN)
|
||||
fprintf(stderr, "Assuming %s for target.\n", norm == PAL ? "PAL" : "NTSC");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user