[FFmpeg-cvslog] ffmpeg:Fix negative verbositiy
Michael Niedermayer
git at videolan.org
Tue Apr 19 02:00:19 CEST 2011
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Apr 18 13:04:33 2011 +0200| [17ee7b5515cd1006a1f7ba4a9cced14f6526c1b0] | committer: Michael Niedermayer
ffmpeg:Fix negative verbositiy
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=17ee7b5515cd1006a1f7ba4a9cced14f6526c1b0
---
ffmpeg.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ffmpeg.c b/ffmpeg.c
index 2b7cc86..06c8bed 100644
--- a/ffmpeg.c
+++ b/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");
}
More information about the ffmpeg-cvslog
mailing list