summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authoruau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-02-22 23:44:43 +0000
committeruau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-02-22 23:44:43 +0000
commit894ea071bfffd57683cd9d62bff3957556fbd58b (patch)
tree129d621855c7d5890732989870eb3b463f4db046 /mplayer.c
parent8443741eefd6ba2a3a7a265ec380c23255f6bd4e (diff)
downloadmpv-894ea071bfffd57683cd9d62bff3957556fbd58b.tar.bz2
mpv-894ea071bfffd57683cd9d62bff3957556fbd58b.tar.xz
Remove useless fflush(stdout) calls. mp_msg already flushes output, and
there is no other output before the calls. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22317 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/mplayer.c b/mplayer.c
index bb476d9501..fcedbe7c38 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -2084,7 +2084,6 @@ void pause_loop(void)
} 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 @@ if(mpctx->sh_video){
}
-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 @@ current_module="main";
// Disable the term OSD in verbose mode
if(verbose) term_osd = 0;
-fflush(stdout);
{
//int frame_corr_num=0; //
@@ -3306,7 +3302,7 @@ if ( use_gui ) {
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(rel_seek_secs || abs_seek_pos){
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";