# HG changeset patch # User uau # Date 1172187883 0 # Node ID 073bd05d00a6907a92dee8d2e0fed3e7b9451918 # Parent a34c7ed7ff6dfb7b3c223f258d7453ad5ff506f2 Remove useless fflush(stdout) calls. mp_msg already flushes output, and there is no other output before the calls. diff -r a34c7ed7ff6d -r 073bd05d00a6 mplayer.c --- 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";