summaryrefslogtreecommitdiffstats
path: root/player/command.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-10-10 15:13:04 +0200
committerwm4 <wm4@nowhere>2014-10-10 15:13:04 +0200
commit4758866a1821efb6fa022b7bde45fabbe6cbdd58 (patch)
tree19384ea927fe1643ab6e64fc419237246ce2854d /player/command.c
parentad541c26f7106e8f10e89b2318005cd805a98f85 (diff)
downloadmpv-4758866a1821efb6fa022b7bde45fabbe6cbdd58.tar.bz2
mpv-4758866a1821efb6fa022b7bde45fabbe6cbdd58.tar.xz
player: minor simplification
Diffstat (limited to 'player/command.c')
-rw-r--r--player/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/command.c b/player/command.c
index f0d96bd509..3a280e1353 100644
--- a/player/command.c
+++ b/player/command.c
@@ -3836,7 +3836,7 @@ int run_command(MPContext *mpctx, mp_cmd_t *cmd)
}
case MP_CMD_STOP:
- // Go back to the starting point.
+ playlist_clear(mpctx->playlist);
mpctx->stop_play = PT_STOP;
break;