comparison mplayer.c @ 30900:e907ff9e7e77

Move SetCodecPath() from loader to get_path.c and make it unconditional. This fixes compilation with the Win32 loader disabled but other binary codec loaders enabled.
author diego
date Sat, 20 Mar 2010 23:27:07 +0000
parents c0fe89cf9803
children 76a13038105e
comparison
equal deleted inserted replaced
30899:5c4742884b38 30900:e907ff9e7e77
92 #include "osdep/timer.h" 92 #include "osdep/timer.h"
93 93
94 #include "gui/interface.h" 94 #include "gui/interface.h"
95 95
96 #include "input/input.h" 96 #include "input/input.h"
97 #include "loader/codecpath.h"
98 97
99 int slave_mode=0; 98 int slave_mode=0;
100 int player_idle_mode=0; 99 int player_idle_mode=0;
101 int quiet=0; 100 int quiet=0;
102 int enable_mouse_movements=0; 101 int enable_mouse_movements=0;
2700 2699
2701 #ifdef CONFIG_PRIORITY 2700 #ifdef CONFIG_PRIORITY
2702 set_priority(); 2701 set_priority();
2703 #endif 2702 #endif
2704 2703
2705 #ifdef CONFIG_WIN32DLL
2706 if (codec_path) 2704 if (codec_path)
2707 SetCodecPath(codec_path); 2705 SetCodecPath(codec_path);
2708 #endif
2709 2706
2710 #ifndef CONFIG_GUI 2707 #ifndef CONFIG_GUI
2711 if(use_gui){ 2708 if(use_gui){
2712 mp_msg(MSGT_CPLAYER,MSGL_WARN,MSGTR_NoGui); 2709 mp_msg(MSGT_CPLAYER,MSGL_WARN,MSGTR_NoGui);
2713 use_gui=0; 2710 use_gui=0;