summaryrefslogtreecommitdiffstats
path: root/cfg-common-opts.h
diff options
context:
space:
mode:
authorkomh <komh@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-03-15 08:30:06 +0000
committerkomh <komh@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-03-15 08:30:06 +0000
commit8686b281f85ba58c24729d1aad75ddd04ab9c537 (patch)
treead4e39f34d7d19c01f49c6c05ec65e9e262d150d /cfg-common-opts.h
parent2c2097601e579ee0a5af2f7b4f5ac0aed3c3e3ff (diff)
downloadmpv-8686b281f85ba58c24729d1aad75ddd04ab9c537.tar.bz2
mpv-8686b281f85ba58c24729d1aad75ddd04ab9c537.tar.xz
Add -codecpath option.
It allows to search binary codecs in non-standard directories. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30897 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'cfg-common-opts.h')
-rw-r--r--cfg-common-opts.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/cfg-common-opts.h b/cfg-common-opts.h
index 1bdbca4735..7c85e8885a 100644
--- a/cfg-common-opts.h
+++ b/cfg-common-opts.h
@@ -40,6 +40,9 @@
#ifdef CONFIG_PRIORITY
{"priority", &proc_priority, CONF_TYPE_STRING, 0, 0, 0, NULL},
#endif
+#ifdef CONFIG_WIN32DLL
+ {"codecpath", &codec_path, CONF_TYPE_STRING, 0, 0, 0, NULL},
+#endif
{"noconfig", noconfig_opts, CONF_TYPE_SUBCONFIG, CONF_GLOBAL|CONF_NOCFG|CONF_PRE_PARSE, 0, 0, NULL},
// ------------------------- stream options --------------------