[FFmpeg-cvslog] r25175 - in trunk: ffmpeg.c ffplay.c

michael subversion
Fri Sep 24 17:39:10 CEST 2010


Author: michael
Date: Fri Sep 24 17:39:10 2010
New Revision: 25175

Log:
Enable AV_LOG_SKIP_REPEATED to maintain previous behavior.

Modified:
   trunk/ffmpeg.c
   trunk/ffplay.c

Modified: trunk/ffmpeg.c
==============================================================================
--- trunk/ffmpeg.c	Fri Sep 24 17:37:01 2010	(r25174)
+++ trunk/ffmpeg.c	Fri Sep 24 17:39:10 2010	(r25175)
@@ -502,6 +502,7 @@ static int configure_filters(AVInputStre
 
 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();

Modified: trunk/ffplay.c
==============================================================================
--- trunk/ffplay.c	Fri Sep 24 17:37:01 2010	(r25174)
+++ trunk/ffplay.c	Fri Sep 24 17:39:10 2010	(r25175)
@@ -1344,6 +1344,7 @@ static void do_exit(void)
     if (show_status)
         printf("\n");
     SDL_Quit();
+    av_log(NULL, AV_LOG_QUIET, "");
     exit(0);
 }
 
@@ -3152,6 +3153,8 @@ int main(int argc, char **argv)
 {
     int flags, i;
 
+    av_log_set_flags(AV_LOG_SKIP_REPEATED);
+
     /* register all codecs, demux and protocols */
     avcodec_register_all();
 #if CONFIG_AVDEVICE



More information about the ffmpeg-cvslog mailing list