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

ib subversion at mplayerhq.hu
Tue Jun 28 19:23:38 CEST 2011


Author: ib
Date: Tue Jun 28 19:23:37 2011
New Revision: 33757

Log:
Redraw GUI only after all necessary values have been set.

Move guiGetEvent() type guiSetVolume call before the redraw call.

Modified:
   trunk/mplayer.c

Modified: trunk/mplayer.c
==============================================================================
--- trunk/mplayer.c	Tue Jun 28 19:01:24 2011	(r33756)
+++ trunk/mplayer.c	Tue Jun 28 19:23:37 2011	(r33757)
@@ -3995,8 +3995,8 @@ goto_enable_cache:
                 else if (mpctx->sh_audio)
                     guiInfo.TimeSec = playing_audio_pts(mpctx->sh_audio, mpctx->d_audio, mpctx->audio_out);
                 guiInfo.LengthInSec = demuxer_get_time_length(mpctx->demuxer);
-                guiGetEvent(guiReDraw, NULL);
                 guiGetEvent(guiSetVolume, NULL);
+                guiGetEvent(guiReDraw, NULL);
                 if (guiInfo.Playing == GUI_STOP)
                     break;                  // STOP
                 if (guiInfo.Playing == GUI_PAUSE)


More information about the MPlayer-cvslog mailing list