diff options
author | wm4 <wm4@nowhere> | 2014-10-23 10:51:51 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-10-23 10:51:51 +0200 |
commit | 34373032b516e54843f673377bf89f506a303092 (patch) | |
tree | 39465303908819eb3aa5bea07e6a74327c0ac73a /player/main_fn.c | |
parent | 474461244e354c6f84b836aeb94dfaa44de0eed8 (diff) | |
download | mpv-34373032b516e54843f673377bf89f506a303092.tar.bz2 mpv-34373032b516e54843f673377bf89f506a303092.tar.xz |
win32: change config path priorities
Assume mpv.exe is located in $mpv_exe_dir, then config files were
preferably loaded from "$mpv_exe_dir/mpv". This was mostly traditional,
and inherited from MPlayer times.
Reverse the config path priority order, and prefer $CSIDL_APPDATA/mpv as
main config path. This also fixes behavior when writing watch_later
configs, and mpv is installed in a not-writable path.
It's possible that this will cause regressions for some users, if the
change in preference suddenly prefers stale config files (which may
happen to longer around in the appdata config dir) over the user's
proper config.
Also explicitly document the behavior.
Diffstat (limited to 'player/main_fn.c')
0 files changed, 0 insertions, 0 deletions