summaryrefslogtreecommitdiffstats
path: root/core/options.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-11-20 13:31:56 +0100
committerwm4 <wm4@nowhere>2012-11-20 18:00:15 +0100
commit77a77d886978a87ab2ff8f68da553d4b34b5d48b (patch)
treeba374a6e415759cd3c9704a481ef45184c971b71 /core/options.h
parent3d41fb8e485a181cbe53ef13eb4160acab16c216 (diff)
downloadmpv-77a77d886978a87ab2ff8f68da553d4b34b5d48b.tar.bz2
mpv-77a77d886978a87ab2ff8f68da553d4b34b5d48b.tar.xz
mplayer: disable auto-loading of external codecs.conf
Do not load codecs.conf files located in $PREFIX/etc/mpv/ or ~/.mpv/. There really is no use for this, other than possibly breaking things. It's still possible to use --codecs-file explicitly to load an external config file, and this option can be used in ~/.mpv/config. While we're at it, remove the global codecs_file variable, and another unused variable.
Diffstat (limited to 'core/options.h')
-rw-r--r--core/options.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/options.h b/core/options.h
index 3f916310b6..28bdd70e3c 100644
--- a/core/options.h
+++ b/core/options.h
@@ -51,6 +51,7 @@ typedef struct MPOpts {
int chapter_merge_threshold;
int quiet;
int noconfig;
+ char *codecs_file;
int stream_cache_size;
float stream_cache_min_percent;
float stream_cache_seek_min_percent;