diff options
author | James Ross-Gowan <rossymiles@gmail.com> | 2015-11-22 21:40:20 +1100 |
---|---|---|
committer | James Ross-Gowan <rossymiles@gmail.com> | 2015-11-23 19:50:13 +1100 |
commit | 718807b78b689f8f478b08ebaa101afce9ffd3dd (patch) | |
tree | 22574e6bd43391e7de350e2394e110f88bde0f50 /player | |
parent | d2efa56d48464107ed14c9822586eee5276a4b32 (diff) |
win32: don't show progress indicator in idle mode
Diffstat (limited to 'player')
-rw-r--r-- | player/misc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/player/misc.c b/player/misc.c index db3dd0402f..0b2548b98b 100644 --- a/player/misc.c +++ b/player/misc.c @@ -141,11 +141,13 @@ void update_vo_playback_state(struct MPContext *mpctx) if (mpctx->video_out) { struct voctrl_playback_state oldstate = mpctx->vo_playback_state; struct voctrl_playback_state newstate = { + .playing = mpctx->playing, .paused = mpctx->paused, .percent_pos = get_percent_pos(mpctx), }; - if (oldstate.paused != newstate.paused || + if (oldstate.playing != newstate.playing || + oldstate.paused != newstate.paused || oldstate.percent_pos != newstate.percent_pos) { vo_control(mpctx->video_out, VOCTRL_UPDATE_PLAYBACK_STATE, &newstate); |