summaryrefslogtreecommitdiffstats
path: root/mpvcore/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'mpvcore/command.c')
-rw-r--r--mpvcore/command.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mpvcore/command.c b/mpvcore/command.c
index 9e1e5f1c56..413ca9d1e5 100644
--- a/mpvcore/command.c
+++ b/mpvcore/command.c
@@ -2411,7 +2411,8 @@ void run_command(MPContext *mpctx, mp_cmd_t *cmd)
talloc_free(pl);
if (!append && mpctx->playlist->first) {
- struct playlist_entry *e = mp_resume_playlist(mpctx->playlist);
+ struct playlist_entry *e =
+ mp_resume_playlist(mpctx->playlist, opts);
mp_set_playlist_entry(mpctx, e ? e : mpctx->playlist->first);
}
} else {