summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2010-09-24 15:39:10 +0000
committerMichael Niedermayer <michaelni@gmx.at>2010-09-24 15:39:10 +0000
commit6b6bca64430e5d0bdbbfecf15503420dbf031867 (patch)
tree477aae2b1baced4da3f38f05e90a75f020870726 /ffmpeg.c
parent1c1c80f0a3157278bf66da98e194729cdeea6631 (diff)
Enable AV_LOG_SKIP_REPEATED to maintain previous behavior.
Originally committed as revision 25175 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 9d7b2e53e3..bd98bab3a1 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -502,6 +502,7 @@ static int configure_filters(AVInputStream *ist, AVOutputStream *ost)
static void term_exit(void)
{
+ av_log(NULL, AV_LOG_QUIET, "");
#if HAVE_TERMIOS_H
tcsetattr (0, TCSANOW, &oldtty);
#endif
@@ -4290,6 +4291,8 @@ int main(int argc, char **argv)
int i;
int64_t ti;
+ av_log_set_flags(AV_LOG_SKIP_REPEATED);
+
avcodec_register_all();
#if CONFIG_AVDEVICE
avdevice_register_all();