Mercurial > mplayer.hg
changeset 33669:e7ef5b755462
Redraw GUI only after all necessary values have been set.
Move guiGetEvent() type guiSetVolume call before the redraw call.
author | ib |
---|---|
date | Tue, 28 Jun 2011 17:23:37 +0000 |
parents | c78784f20d0b |
children | 3b3e2d2f68c3 |
files | mplayer.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mplayer.c Tue Jun 28 17:01:24 2011 +0000 +++ b/mplayer.c Tue Jun 28 17:23:37 2011 +0000 @@ -3995,8 +3995,8 @@ 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(guiSetVolume, NULL); guiGetEvent(guiReDraw, NULL); - guiGetEvent(guiSetVolume, NULL); if (guiInfo.Playing == GUI_STOP) break; // STOP if (guiInfo.Playing == GUI_PAUSE)