Commit 6b6bca64 authored by Michael Niedermayer's avatar Michael Niedermayer

Enable AV_LOG_SKIP_REPEATED to maintain previous behavior.

Originally committed as revision 25175 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 1c1c80f0
...@@ -502,6 +502,7 @@ static int configure_filters(AVInputStream *ist, AVOutputStream *ost) ...@@ -502,6 +502,7 @@ static int configure_filters(AVInputStream *ist, AVOutputStream *ost)
static void term_exit(void) static void term_exit(void)
{ {
av_log(NULL, AV_LOG_QUIET, "");
#if HAVE_TERMIOS_H #if HAVE_TERMIOS_H
tcsetattr (0, TCSANOW, &oldtty); tcsetattr (0, TCSANOW, &oldtty);
#endif #endif
...@@ -4290,6 +4291,8 @@ int main(int argc, char **argv) ...@@ -4290,6 +4291,8 @@ int main(int argc, char **argv)
int i; int i;
int64_t ti; int64_t ti;
av_log_set_flags(AV_LOG_SKIP_REPEATED);
avcodec_register_all(); avcodec_register_all();
#if CONFIG_AVDEVICE #if CONFIG_AVDEVICE
avdevice_register_all(); avdevice_register_all();
......
...@@ -1344,6 +1344,7 @@ static void do_exit(void) ...@@ -1344,6 +1344,7 @@ static void do_exit(void)
if (show_status) if (show_status)
printf("\n"); printf("\n");
SDL_Quit(); SDL_Quit();
av_log(NULL, AV_LOG_QUIET, "");
exit(0); exit(0);
} }
...@@ -3152,6 +3153,8 @@ int main(int argc, char **argv) ...@@ -3152,6 +3153,8 @@ int main(int argc, char **argv)
{ {
int flags, i; int flags, i;
av_log_set_flags(AV_LOG_SKIP_REPEATED);
/* register all codecs, demux and protocols */ /* register all codecs, demux and protocols */
avcodec_register_all(); avcodec_register_all();
#if CONFIG_AVDEVICE #if CONFIG_AVDEVICE
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment