summaryrefslogtreecommitdiffstats
path: root/Copyright
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2014-12-26 09:10:30 +0100
committerAlessandro Ghedini <alessandro@ghedini.me>2015-01-14 17:03:29 +0100
commitbde22281f7b6da90c4310a2e67212b136150ec07 (patch)
treef6f4227e9b03549b8b04675c0e896a967eb1d3b2 /Copyright
parent697a7b7d19abc9b0978576f1dee657240243119b (diff)
downloadmpv-bde22281f7b6da90c4310a2e67212b136150ec07.tar.bz2
mpv-bde22281f7b6da90c4310a2e67212b136150ec07.tar.xz
osxbundle: fix cascading config loading
mpv does 'cascading' configs by overriding options as the config become more important (bundle -> system level -> user level). Unfortunately mpv also loads two sets of configs files one after the other [1]. First it looks for 'config', then for 'mpv.conf'. For this reason a mpv.conf in ANY location will override ANY config files named config (even if the mpv.conf is in a system path and config in a user path). [1]: Relevant code in player/configfiles.c load_all_cfgfiles(mpctx, section, "config"); load_all_cfgfiles(mpctx, section, "mpv.conf"); Fixes: #1361
Diffstat (limited to 'Copyright')
0 files changed, 0 insertions, 0 deletions