summaryrefslogtreecommitdiffstats
path: root/player/configfiles.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-11-10 23:53:57 +0100
committerwm4 <wm4@nowhere>2019-11-10 23:53:57 +0100
commit07fd511e143f8fd17d9e662ca0c060527c29e0e1 (patch)
tree252812b9cacfb3e1fcd52669b5a2b9ca2369d8e3 /player/configfiles.c
parent4cae19237758a21685c9d988d24dafac713f3a30 (diff)
downloadmpv-07fd511e143f8fd17d9e662ca0c060527c29e0e1.tar.bz2
mpv-07fd511e143f8fd17d9e662ca0c060527c29e0e1.tar.xz
options: remove M_SETOPT_RUNTIME
Used to contain flags for "save" setting of options at runtime. Now there is nothing special needed anymore and it's 0. So drop it completely, and remove anything that distinguishes between runtime and initialization time.
Diffstat (limited to 'player/configfiles.c')
-rw-r--r--player/configfiles.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/player/configfiles.c b/player/configfiles.c
index 93fd645d1f..668b34c542 100644
--- a/player/configfiles.c
+++ b/player/configfiles.c
@@ -94,8 +94,7 @@ static int try_load_config(struct MPContext *mpctx, const char *file, int flags,
// Set options file-local, and don't set them if the user set them via the
// command line.
-#define FILE_LOCAL_FLAGS \
- (M_SETOPT_BACKUP | M_SETOPT_RUNTIME | M_SETOPT_PRESERVE_CMDLINE)
+#define FILE_LOCAL_FLAGS (M_SETOPT_BACKUP | M_SETOPT_PRESERVE_CMDLINE)
static void mp_load_per_file_config(struct MPContext *mpctx)
{