diff mplayer.c @ 30855:977fd535cc9d

Add -codecpath option. It allows to search binary codecs in non-standard directories.
author komh
date Mon, 15 Mar 2010 08:30:06 +0000
parents 1878922f2ce0
children eb1b97313903
line wrap: on
line diff
--- a/mplayer.c	Mon Mar 15 06:39:21 2010 +0000
+++ b/mplayer.c	Mon Mar 15 08:30:06 2010 +0000
@@ -2701,6 +2701,11 @@
     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);