diff options
author | wm4 <wm4@nowhere> | 2013-12-21 20:15:47 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-12-21 21:43:16 +0100 |
commit | 9149e2af568d4cb251f8b105f360c3e6b9fd9d86 (patch) | |
tree | d0f5f290d161723c06008f71087365d4296e06b4 /options | |
parent | 8cd1b33a22bef714e1185bc8e435d68530caac09 (diff) | |
download | mpv-9149e2af568d4cb251f8b105f360c3e6b9fd9d86.tar.bz2 mpv-9149e2af568d4cb251f8b105f360c3e6b9fd9d86.tar.xz |
playlist_parser: mp_msg conversion
Diffstat (limited to 'options')
-rw-r--r-- | options/parse_commandline.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/options/parse_commandline.c b/options/parse_commandline.c index f20d213f07..7c4eb3cce7 100644 --- a/options/parse_commandline.c +++ b/options/parse_commandline.c @@ -114,7 +114,6 @@ int m_config_parse_mp_command_line(m_config_t *config, struct playlist *files, struct mpv_global *global, int argc, char **argv) { - struct MPOpts *opts = config->optstruct; int ret = M_OPT_UNKNOWN; int mode = 0; struct playlist_entry *local_start = NULL; @@ -186,7 +185,7 @@ int m_config_parse_mp_command_line(m_config_t *config, struct playlist *files, if (bstrcmp0(p.arg, "playlist") == 0) { // append the playlist to the local args char *param0 = bstrdup0(NULL, p.param); - struct playlist *pl = playlist_parse_file(param0, opts); + struct playlist *pl = playlist_parse_file(param0, global); talloc_free(param0); if (!pl) { MP_FATAL(config, "Error reading playlist '%.*s'", BSTR_P(p.param)); |