comparison gui/cfg.c @ 27370:14c5017f40d2

Change a bunch of video/audio-output-specific preprocessor directives from a HAVE_ prefix to a CONFIG_ prefix.
author diego
date Sun, 03 Aug 2008 15:21:40 +0000
parents d788e177a35e
children eb7bdbd98210
comparison
equal deleted inserted replaced
27369:8598536ca4f5 27370:14c5017f40d2
61 #if defined(HAVE_ALSA9) || defined (HAVE_ALSA1X) 61 #if defined(HAVE_ALSA9) || defined (HAVE_ALSA1X)
62 char * gtkAOALSAMixer; 62 char * gtkAOALSAMixer;
63 char * gtkAOALSAMixerChannel; 63 char * gtkAOALSAMixerChannel;
64 char * gtkAOALSADevice; 64 char * gtkAOALSADevice;
65 #endif 65 #endif
66 #ifdef HAVE_SDL 66 #ifdef CONFIG_SDL
67 char * gtkAOSDLDriver; 67 char * gtkAOSDLDriver;
68 #endif 68 #endif
69 #ifdef CONFIG_ESD 69 #ifdef CONFIG_ESD
70 char * gtkAOESDDevice; 70 char * gtkAOESDDevice;
71 #endif 71 #endif
74 int gtkCacheSize = 2048; 74 int gtkCacheSize = 2048;
75 75
76 int gtkAutoSyncOn = 0; 76 int gtkAutoSyncOn = 0;
77 int gtkAutoSync = 0; 77 int gtkAutoSync = 0;
78 78
79 #ifdef HAVE_DXR3 79 #ifdef CONFIG_DXR3
80 char * gtkDXR3Device; 80 char * gtkDXR3Device;
81 #endif 81 #endif
82 82
83 int gtkSubDumpMPSub = 0; 83 int gtkSubDumpMPSub = 0;
84 int gtkSubDumpSrt = 0; 84 int gtkSubDumpSrt = 0;
109 109
110 { "vo_driver",&video_driver_list,CONF_TYPE_STRING_LIST,0,0,0,NULL }, 110 { "vo_driver",&video_driver_list,CONF_TYPE_STRING_LIST,0,0,0,NULL },
111 { "vo_panscan",&vo_panscan,CONF_TYPE_FLOAT,CONF_RANGE,0.0,1.0,NULL }, 111 { "vo_panscan",&vo_panscan,CONF_TYPE_FLOAT,CONF_RANGE,0.0,1.0,NULL },
112 { "vo_doublebuffering",&vo_doublebuffering,CONF_TYPE_FLAG,0,0,1,NULL }, 112 { "vo_doublebuffering",&vo_doublebuffering,CONF_TYPE_FLAG,0,0,1,NULL },
113 { "vo_direct_render",&vo_directrendering,CONF_TYPE_FLAG,0,0,1,NULL }, 113 { "vo_direct_render",&vo_directrendering,CONF_TYPE_FLAG,0,0,1,NULL },
114 #ifdef HAVE_DXR3 114 #ifdef CONFIG_DXR3
115 { "vo_dxr3_device",&gtkDXR3Device,CONF_TYPE_STRING,0,0,0,NULL }, 115 { "vo_dxr3_device",&gtkDXR3Device,CONF_TYPE_STRING,0,0,0,NULL },
116 #endif 116 #endif
117 117
118 { "v_framedrop",&frame_dropping,CONF_TYPE_INT,CONF_RANGE,0,2,NULL }, 118 { "v_framedrop",&frame_dropping,CONF_TYPE_INT,CONF_RANGE,0,2,NULL },
119 { "v_flip",&flip,CONF_TYPE_INT,CONF_RANGE,-1,1,NULL }, 119 { "v_flip",&flip,CONF_TYPE_INT,CONF_RANGE,-1,1,NULL },
142 #if defined(HAVE_ALSA9) || defined (HAVE_ALSA1X) 142 #if defined(HAVE_ALSA9) || defined (HAVE_ALSA1X)
143 { "ao_alsa_mixer",&gtkAOALSAMixer,CONF_TYPE_STRING,0,0,0,NULL }, 143 { "ao_alsa_mixer",&gtkAOALSAMixer,CONF_TYPE_STRING,0,0,0,NULL },
144 { "ao_alsa_mixer_channel",&gtkAOALSAMixerChannel,CONF_TYPE_STRING,0,0,0,NULL }, 144 { "ao_alsa_mixer_channel",&gtkAOALSAMixerChannel,CONF_TYPE_STRING,0,0,0,NULL },
145 { "ao_alsa_device",&gtkAOALSADevice,CONF_TYPE_STRING,0,0,0,NULL }, 145 { "ao_alsa_device",&gtkAOALSADevice,CONF_TYPE_STRING,0,0,0,NULL },
146 #endif 146 #endif
147 #ifdef HAVE_SDL 147 #ifdef CONFIG_SDL
148 { "ao_sdl_subdriver",&gtkAOSDLDriver,CONF_TYPE_STRING,0,0,0,NULL }, 148 { "ao_sdl_subdriver",&gtkAOSDLDriver,CONF_TYPE_STRING,0,0,0,NULL },
149 #endif 149 #endif
150 #ifdef CONFIG_ESD 150 #ifdef CONFIG_ESD
151 { "ao_esd_device",&gtkAOESDDevice,CONF_TYPE_STRING,0,0,0,NULL }, 151 { "ao_esd_device",&gtkAOESDDevice,CONF_TYPE_STRING,0,0,0,NULL },
152 #endif 152 #endif