mirror of
https://github.com/mpv-player/mpv
synced 2024-12-24 15:52:25 +00:00
Fix multiple help clauses on the command line with mencoder.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17468 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
81434e62c5
commit
d7df4557b5
@ -93,6 +93,10 @@ m_config_parse_me_command_line(m_config_t *config, int argc, char **argv)
|
||||
}
|
||||
if(!entry || (mp_opt->flags & M_OPT_GLOBAL)){
|
||||
tmp = m_config_set_option(config, opt, argv[i + 1]);
|
||||
if (tmp <= M_OPT_EXIT) {
|
||||
opt_exit = 1;
|
||||
tmp = M_OPT_EXIT - tmp;
|
||||
}
|
||||
if(tmp < 0){
|
||||
// mp_msg(MSGT_CFGPARSER, MSGL_ERR, "m_config_set_option() failed (%d)\n",tmp);
|
||||
goto err_out;
|
||||
|
Loading…
Reference in New Issue
Block a user