summaryrefslogtreecommitdiffstats
path: root/command.c
diff options
context:
space:
mode:
authorwm4 <wm4@mplayer2.org>2012-01-06 17:57:16 +0100
committerUoti Urpala <uau@mplayer2.org>2012-01-09 20:33:54 +0200
commitb51e1d427eae6c3604e669f220d81516ff833787 (patch)
tree7b2b883fb2820f60d3a059d485268d8a24b2ae3f /command.c
parent245773e56954a926033293210c781e5fb71eb651 (diff)
downloadmpv-b51e1d427eae6c3604e669f220d81516ff833787.tar.bz2
mpv-b51e1d427eae6c3604e669f220d81516ff833787.tar.xz
osd: always display pause icon when frame stepping
When the OSD was enabled and the player was paused by executing the frame_step command, the OSD still displayed the icon indicating playback. Fix this and always set the proper icon when the pause state is changed.
Diffstat (limited to 'command.c')
-rw-r--r--command.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/command.c b/command.c
index be1d688f8f..58dd68454f 100644
--- a/command.c
+++ b/command.c
@@ -680,10 +680,8 @@ static int mp_property_pause(m_option_t *prop, int action, void *arg,
case M_PROPERTY_STEP_DOWN:
if (mpctx->paused) {
unpause_player(mpctx);
- mpctx->osd_function = OSD_PLAY;
} else {
pause_player(mpctx);
- mpctx->osd_function = OSD_PAUSE;
}
return M_PROPERTY_OK;
default: