[MPlayer-cvslog] r22317 - trunk/mplayer.c

uau subversion at mplayerhq.hu
Fri Feb 23 00:44:44 CET 2007


Author: uau
Date: Fri Feb 23 00:44:43 2007
New Revision: 22317

Modified:
   trunk/mplayer.c

Log:
Remove useless fflush(stdout) calls. mp_msg already flushes output, and
there is no other output before the calls.


Modified: trunk/mplayer.c
==============================================================================
--- trunk/mplayer.c	(original)
+++ trunk/mplayer.c	Fri Feb 23 00:44:43 2007
@@ -2084,7 +2084,6 @@
 	} else
 	    mp_msg(MSGT_CPLAYER,MSGL_STATUS,MSGTR_Paused);
         mp_msg(MSGT_IDENTIFY, MSGL_INFO, "ID_PAUSED\n");
-	fflush(stdout);
     }
 #ifdef HAVE_NEW_GUI
     if (use_gui)
@@ -3073,8 +3072,6 @@
 
 }
 
-fflush(stdout);
-
 if(!mpctx->sh_video && !mpctx->sh_audio){
     mp_msg(MSGT_CPLAYER,MSGL_FATAL, MSGTR_NoStreamFound);
 #ifdef HAS_DVBIN_SUPPORT
@@ -3228,7 +3225,6 @@
 
 // Disable the term OSD in verbose mode
 if(verbose) term_osd = 0;
-fflush(stdout);
 
 {
 //int frame_corr_num=0;   //
@@ -3306,7 +3302,7 @@
 if(loop_times>1) loop_times--; else
 if(loop_times==1) loop_times = -1;
 
-mp_msg(MSGT_CPLAYER,MSGL_INFO,MSGTR_StartPlaying);fflush(stdout);
+mp_msg(MSGT_CPLAYER,MSGL_INFO,MSGTR_StartPlaying);
 
 total_time_usage_start=GetTimer();
 audio_time_usage=0; video_time_usage=0; vout_time_usage=0;
@@ -3539,7 +3535,6 @@
       if (vo_vobsub)
 	//vobsub_reset(vo_vobsub);
 	vobsub_seek(vo_vobsub,mpctx->sh_video->pts);
-      fflush(stdout);
 
       if(mpctx->sh_video){
 	 current_module="seek_video_reset";



More information about the MPlayer-cvslog mailing list