summaryrefslogtreecommitdiffstats
path: root/mencoder.c
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 /mencoder.c
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 'mencoder.c')
-rw-r--r--mencoder.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/mencoder.c b/mencoder.c
index 7b9f5705eb..12467cccfc 100644
--- a/mencoder.c
+++ b/mencoder.c
@@ -534,6 +534,11 @@ if (frameno_filename) {
set_priority();
#endif
+#ifdef CONFIG_WIN32DLL
+ if (codec_path)
+ SetCodecPath(codec_path);
+#endif
+
// check font
#ifdef CONFIG_FREETYPE
init_freetype();