mpv/options
wm4 b26ab4d08c config: do not resolve default profile during "include" processing
Application of options in the default section is "delayed" until the
whole config file is read in order to allow profile forward references.
This was run at the end of parsing a config file - but because of
"include" options, this means it's not always called at the end of the
main config file.

Use the recursion counter to prevent it from being processed after each
"include" option. This also gets rid of the resulting unintended
infinite recursion (which eventually stopped and failed loading the
config file) due to m_config_finish_default_profile() processing the
"include" option again.

Fixes #4024.
2017-01-13 12:02:46 +01:00
..
m_config.c options: change --h=... behavior 2016-12-16 16:09:10 +01:00
m_config.h options: remove deprecated sub-option handling for --vo and --ao 2016-11-25 21:17:25 +01:00
m_option.c options: some simplifications 2016-11-29 17:10:06 +01:00
m_option.h options: some simplifications 2016-11-29 17:10:06 +01:00
m_property.c command: fix "cycle"/"add" not working on most properties 2016-09-18 17:55:27 +02:00
m_property.h player: more option/property consistency fixes 2016-09-18 16:08:21 +02:00
options.c options: explicitly deprecate --ad-spdif-dtshd 2016-12-23 18:12:54 +01:00
options.h cocoa: fullscreen refactoring 2016-12-15 20:55:16 +01:00
parse_commandline.c options: simplify M_OPT_EXIT 2016-09-17 18:07:40 +02:00
parse_commandline.h
parse_configfile.c config: do not resolve default profile during "include" processing 2017-01-13 12:02:46 +01:00
parse_configfile.h
path.c path: default ~~ paths to home directory 2016-09-29 16:44:01 +02:00
path.h