Mercurial > mplayer.hg
comparison Gui/cfg.c @ 7706:90044efe01ee
- better dxr3 support
- fix oss subdevice bug
- add some warning fix from Dominik Mierzejewski <dominik@rangers.eu.org>
author | pontscho |
---|---|
date | Thu, 10 Oct 2002 14:06:49 +0000 |
parents | 4a233f3b09a7 |
children | e5dda05f9aab |
comparison
equal
deleted
inserted
replaced
7705:844246b6c3bf | 7706:90044efe01ee |
---|---|
34 int gtkAOExtraStereo = 0; | 34 int gtkAOExtraStereo = 0; |
35 float gtkAOExtraStereoMul = 1.0; | 35 float gtkAOExtraStereoMul = 1.0; |
36 char * gtkAOOSSMixer; | 36 char * gtkAOOSSMixer; |
37 char * gtkAOOSSDevice; | 37 char * gtkAOOSSDevice; |
38 | 38 |
39 #ifdef HAVE_DXR3 | |
40 char * gtkDXR3Device; | |
41 #endif | |
42 | |
39 int gtkSubDumpMPSub = 0; | 43 int gtkSubDumpMPSub = 0; |
40 int gtkSubDumpSrt = 0; | 44 int gtkSubDumpSrt = 0; |
41 | 45 |
42 int gtkLoadFullscreen = 0; | 46 int gtkLoadFullscreen = 0; |
43 | 47 |
54 | 58 |
55 { "vo_driver",&video_driver_list,CONF_TYPE_STRING_LIST,0,0,0,NULL }, | 59 { "vo_driver",&video_driver_list,CONF_TYPE_STRING_LIST,0,0,0,NULL }, |
56 { "vo_panscan",&vo_panscan,CONF_TYPE_FLOAT,CONF_RANGE,0.0,1.0,NULL }, | 60 { "vo_panscan",&vo_panscan,CONF_TYPE_FLOAT,CONF_RANGE,0.0,1.0,NULL }, |
57 { "vo_doublebuffering",&vo_doublebuffering,CONF_TYPE_FLAG,0,0,1,NULL }, | 61 { "vo_doublebuffering",&vo_doublebuffering,CONF_TYPE_FLAG,0,0,1,NULL }, |
58 { "vo_direct_render",&vo_directrendering,CONF_TYPE_FLAG,0,0,1,NULL }, | 62 { "vo_direct_render",&vo_directrendering,CONF_TYPE_FLAG,0,0,1,NULL }, |
63 #ifdef HAVE_DXR3 | |
64 { "vo_dxr3_device",>kDXR3Device,CONF_TYPE_STRING,0,0,0,NULL }, | |
65 #endif | |
59 | 66 |
60 { "v_framedrop",&frame_dropping,CONF_TYPE_INT,CONF_RANGE,0,2,NULL }, | 67 { "v_framedrop",&frame_dropping,CONF_TYPE_INT,CONF_RANGE,0,2,NULL }, |
61 { "v_flip",&flip,CONF_TYPE_INT,CONF_RANGE,-1,1,NULL }, | 68 { "v_flip",&flip,CONF_TYPE_INT,CONF_RANGE,-1,1,NULL }, |
62 { "v_ni",&force_ni,CONF_TYPE_FLAG,0,0,1,NULL }, | 69 { "v_ni",&force_ni,CONF_TYPE_FLAG,0,0,1,NULL }, |
63 { "v_idx",&index_mode,CONF_TYPE_INT,CONF_RANGE,-1,2,NULL }, | 70 { "v_idx",&index_mode,CONF_TYPE_INT,CONF_RANGE,-1,2,NULL }, |
219 if ( tmp && tmp[0] ) fprintf( f,"%s = \"%s\"\n",gui_opts[i].name,tmp ); | 226 if ( tmp && tmp[0] ) fprintf( f,"%s = \"%s\"\n",gui_opts[i].name,tmp ); |
220 break; | 227 break; |
221 } | 228 } |
222 case CONF_TYPE_STRING_LIST: | 229 case CONF_TYPE_STRING_LIST: |
223 { | 230 { |
224 char ** tmp = *( (char **)gui_opts[i].p ); | 231 char ** tmp = *( (char ***)gui_opts[i].p ); |
225 if ( tmp && tmp[0] && tmp[0][0] ) fprintf( f,"%s = \"%s\"\n",gui_opts[i].name,tmp[0] ); | 232 if ( tmp && tmp[0] && tmp[0][0] ) fprintf( f,"%s = \"%s\"\n",gui_opts[i].name,tmp[0] ); |
226 break; | 233 break; |
227 } | 234 } |
228 } | 235 } |
229 } | 236 } |