diff options
author | wm4 <wm4@nowhere> | 2017-01-13 12:02:46 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-01-13 12:02:46 +0100 |
commit | b26ab4d08caeb487208271ac6f51c6e3f1c5e5e6 (patch) | |
tree | 27eae29429e135d5f56ce9f207bca8883d425f1a /video/fmt-conversion.c | |
parent | 88dfb9a5e71d55fd09d8dd92fd4bf54928b5d7cd (diff) | |
download | mpv-b26ab4d08caeb487208271ac6f51c6e3f1c5e5e6.tar.bz2 mpv-b26ab4d08caeb487208271ac6f51c6e3f1c5e5e6.tar.xz |
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.
Diffstat (limited to 'video/fmt-conversion.c')
0 files changed, 0 insertions, 0 deletions