summaryrefslogtreecommitdiffstats
path: root/player/command.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-12-21 20:15:47 +0100
committerwm4 <wm4@nowhere>2013-12-21 21:43:16 +0100
commit9149e2af568d4cb251f8b105f360c3e6b9fd9d86 (patch)
treed0f5f290d161723c06008f71087365d4296e06b4 /player/command.c
parent8cd1b33a22bef714e1185bc8e435d68530caac09 (diff)
downloadmpv-9149e2af568d4cb251f8b105f360c3e6b9fd9d86.tar.bz2
mpv-9149e2af568d4cb251f8b105f360c3e6b9fd9d86.tar.xz
playlist_parser: mp_msg conversion
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 03b444c062..b5f5a059e5 100644
--- a/player/command.c
+++ b/player/command.c
@@ -2792,7 +2792,7 @@ void run_command(MPContext *mpctx, mp_cmd_t *cmd)
case MP_CMD_LOADLIST: {
char *filename = cmd->args[0].v.s;
bool append = cmd->args[1].v.i;
- struct playlist *pl = playlist_parse_file(filename, opts);
+ struct playlist *pl = playlist_parse_file(filename, mpctx->global);
if (pl) {
if (!append)
playlist_clear(mpctx->playlist);