summaryrefslogtreecommitdiffstats
path: root/mplayer.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 /mplayer.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 'mplayer.c')
-rw-r--r--mplayer.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/mplayer.c b/mplayer.c
index a5fe132d0a..77400a0ed0 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -2701,6 +2701,11 @@ int gui_no_filename=0;
set_priority();
#endif
+#ifdef CONFIG_WIN32DLL
+ if (codec_path)
+ SetCodecPath(codec_path);
+#endif
+
#ifndef CONFIG_GUI
if(use_gui){
mp_msg(MSGT_CPLAYER,MSGL_WARN,MSGTR_NoGui);