changeset 22299:073bd05d00a6

Remove useless fflush(stdout) calls. mp_msg already flushes output, and there is no other output before the calls.
author uau
date Thu, 22 Feb 2007 23:44:43 +0000
parents a34c7ed7ff6d
children 83375f3a276b
files mplayer.c
diffstat 1 files changed, 1 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/mplayer.c	Thu Feb 22 21:05:31 2007 +0000
+++ b/mplayer.c	Thu Feb 22 23:44:43 2007 +0000
@@ -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";