1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-26 00:42:57 +00:00
mpv/options
wm4 91f6f2bf11 options: remove unneeded hack from command line parser
This was traditionally needed to silence terminal output from errors
during command line parsing preparsing. Preparsing is done so that
options controlling the terminal and config files are parsed and applied
first, with a second command line parsing pass applying all other
options, _and_ printing error messages for the preparsed ones.

But the hack silencing log output during the preparse pass is actually
not needed anymore, since the terminal is enabled only after preparsing
is finished. update_logging() in main.c does this.

So as long as update_logging() is called before
m_config_preparse_command_line(), this will work.
2015-04-23 21:08:19 +02:00
..
m_config.c Update license headers 2015-04-13 12:10:01 +02:00
m_config.h Update license headers 2015-04-13 12:10:01 +02:00
m_option.c options: change [...] to balanced quotes 2015-04-19 15:31:17 +02:00
m_option.h Update license headers 2015-04-13 12:10:01 +02:00
m_property.c Update license headers 2015-04-13 12:10:01 +02:00
m_property.h Update license headers 2015-04-13 12:10:01 +02:00
options.c demux_mkv: move global options to the demuxer 2015-04-23 19:21:17 +02:00
options.h demux_mkv: move global options to the demuxer 2015-04-23 19:21:17 +02:00
parse_commandline.c options: remove unneeded hack from command line parser 2015-04-23 21:08:19 +02:00
parse_commandline.h Update license headers 2015-04-13 12:10:01 +02:00
parse_configfile.c options: clarify quoting for option values starting with % 2015-04-17 16:06:43 +02:00
parse_configfile.h Update license headers 2015-04-13 12:10:01 +02:00
path.c Update license headers 2015-04-13 12:10:01 +02:00
path.h Update license headers 2015-04-13 12:10:01 +02:00