summaryrefslogtreecommitdiffstats
path: root/player/misc.c
diff options
context:
space:
mode:
authorJames Ross-Gowan <rossymiles@gmail.com>2015-11-22 21:40:20 +1100
committerJames Ross-Gowan <rossymiles@gmail.com>2015-11-23 19:50:13 +1100
commit718807b78b689f8f478b08ebaa101afce9ffd3dd (patch)
tree22574e6bd43391e7de350e2394e110f88bde0f50 /player/misc.c
parentd2efa56d48464107ed14c9822586eee5276a4b32 (diff)
downloadmpv-718807b78b689f8f478b08ebaa101afce9ffd3dd.tar.bz2
mpv-718807b78b689f8f478b08ebaa101afce9ffd3dd.tar.xz
win32: don't show progress indicator in idle mode
Diffstat (limited to 'player/misc.c')
-rw-r--r--player/misc.c4
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);