~medibuntu-maintainers/mplayer/medibuntu.maverick

0.2.1 by Reinhard Tartler
Import upstream version 1.0~rc2+svn20090303
1
#ifndef MPLAYER_CFG_MPLAYER_H
2
#define MPLAYER_CFG_MPLAYER_H
3
1 by Sebastian Dröge
Import upstream version 0.99+1.0pre7try2+cvs20051205
4
/*
5
 * config for cfgparser
6
 */
7
8
#include "cfg-common.h"
9
1.1.4 by Mario Limonciello
Import upstream version 1.0~rc2
10
extern int key_fifo_size;
11
extern unsigned doubleclick_time;
1 by Sebastian Dröge
Import upstream version 0.99+1.0pre7try2+cvs20051205
12
13
extern char *fb_mode_cfgfile;
14
extern char *fb_mode_name;
15
extern char *dfb_params;
16
17
extern char *lirc_configfile;
18
19
extern float vo_panscanrange;
20
/* only used at startup (setting these values from configfile) */
21
extern char *vo_geometry;
22
23
extern int opt_screen_size_x;
24
extern int opt_screen_size_y;
25
extern int fullscreen;
26
extern int vidmode;
27
28
extern char *ao_outputfilename;
29
extern int ao_pcm_waveheader;
30
31
extern int fs_layer;
32
extern int stop_xscreensaver;
33
34
extern int menu_startup;
1.1.4 by Mario Limonciello
Import upstream version 1.0~rc2
35
extern int menu_keepdir;
36
extern char *menu_chroot;
37
extern char *menu_fribidi_charset;
38
extern int menu_flip_hebrew;
39
extern int menu_fribidi_flip_commas;
0.2.1 by Reinhard Tartler
Import upstream version 1.0~rc2+svn20090303
40
41
extern char *unrar_executable;
42
43
int vo_zr_parseoption(const m_option_t* conf, char *opt, char * param);
44
void vo_zr_revertoption(const m_option_t* opt,char* pram);
45
1 by Sebastian Dröge
Import upstream version 0.99+1.0pre7try2+cvs20051205
46
extern m_option_t dxr2_opts[];
47
48
extern char * skinName;
49
extern int guiWinID;
50
51
52
/* from libvo/aspect.c */
1.1.4 by Mario Limonciello
Import upstream version 1.0~rc2
53
extern float force_monitor_aspect;
1.1.2 by Reinhard Tartler
Import upstream version 0.99+1.0pre8
54
extern float monitor_pixel_aspect;
1 by Sebastian Dröge
Import upstream version 0.99+1.0pre7try2+cvs20051205
55
56
extern int sws_flags;
0.2.1 by Reinhard Tartler
Import upstream version 1.0~rc2+svn20090303
57
int readPPOpt(void *conf, char *arg);
58
void revertPPOpt(void *conf, char* opt);
1 by Sebastian Dröge
Import upstream version 0.99+1.0pre7try2+cvs20051205
59
extern char* pp_help;
60
0.2.1 by Reinhard Tartler
Import upstream version 1.0~rc2+svn20090303
61
const m_option_t vd_conf[]={
1 by Sebastian Dröge
Import upstream version 0.99+1.0pre7try2+cvs20051205
62
	{"help", "Use MPlayer with an appropriate video file instead of live partners to avoid vd.\n", CONF_TYPE_PRINT, CONF_NOCFG|CONF_GLOBAL, 0, 0, NULL},
63
	{NULL, NULL, 0, 0, 0, 0, NULL}
64
};
65
0.2.1 by Reinhard Tartler
Import upstream version 1.0~rc2+svn20090303
66
#ifdef CONFIG_TV
67
const m_option_t tvscan_conf[]={
1.1.4 by Mario Limonciello
Import upstream version 1.0~rc2
68
	{"autostart", &stream_tv_defaults.scan, CONF_TYPE_FLAG, 0, 0, 1, NULL},
69
	{"threshold", &stream_tv_defaults.scan_threshold, CONF_TYPE_INT, CONF_RANGE, 1, 100, NULL},
70
	{"period", &stream_tv_defaults.scan_period, CONF_TYPE_FLOAT, CONF_RANGE, 0.1, 2.0, NULL},
71
	{NULL, NULL, 0, 0, 0, 0, NULL}
72
};
73
#endif
1 by Sebastian Dröge
Import upstream version 0.99+1.0pre7try2+cvs20051205
74
/*
75
 * CONF_TYPE_FUNC_FULL :
76
 * allows own implementations for passing the params
77
 * 
78
 * the function receives parameter name and argument (if it does not start with - )
79
 * useful with a conf.name like 'aa*' to parse several parameters to a function
80
 * return 0 =ok, but we didn't need the param (could be the filename)
81
 * return 1 =ok, we accepted the param
82
 * negative values: see cfgparser.h, ERR_XXX
83
 *
84
 * by Folke
85
 */
86
0.2.1 by Reinhard Tartler
Import upstream version 1.0~rc2+svn20090303
87
const m_option_t mplayer_opts[]={
1 by Sebastian Dröge
Import upstream version 0.99+1.0pre7try2+cvs20051205
88
	/* name, pointer, type, flags, min, max */
89
90
//---------------------- libao/libvo options ------------------------
91
	{"o", "Option -o has been renamed to -vo (video-out), use -vo.\n",
92
            CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
93
	{"vo", &video_driver_list, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL},
94
	{"ao", &audio_driver_list, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL},
95
	{"fixed-vo", &fixed_vo, CONF_TYPE_FLAG,CONF_GLOBAL , 0, 1, NULL},
1.1.4 by Mario Limonciello
Import upstream version 1.0~rc2
96
	{"nofixed-vo", &fixed_vo, CONF_TYPE_FLAG,CONF_GLOBAL, 1, 0, NULL},
1 by Sebastian Dröge
Import upstream version 0.99+1.0pre7try2+cvs20051205
97
	{"ontop", &vo_ontop, CONF_TYPE_FLAG, 0, 0, 1, NULL},
98
	{"noontop", &vo_ontop, CONF_TYPE_FLAG, 0, 1, 0, NULL},
99
	{"rootwin", &vo_rootwin, CONF_TYPE_FLAG, 0, 0, 1, NULL},
100
	{"border", &vo_border, CONF_TYPE_FLAG, 0, 0, 1, NULL},
101
	{"noborder", &vo_border, CONF_TYPE_FLAG, 0, 1, 0, NULL},
102
1.1.4 by Mario Limonciello
Import upstream version 1.0~rc2
103
	{"aop", "-aop has been removed, use -af instead.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
104
	{"dsp", "-dsp has been removed. Use -ao oss:dsp_path instead.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
1 by Sebastian Dröge
Import upstream version 0.99+1.0pre7try2+cvs20051205
105
        {"mixer", &mixer_device, CONF_TYPE_STRING, 0, 0, 0, NULL},
106
        {"mixer-channel", &mixer_channel, CONF_TYPE_STRING, 0, 0, 0, NULL},
107
        {"softvol", &soft_vol, CONF_TYPE_FLAG, 0, 0, 1, NULL},
108
        {"nosoftvol", &soft_vol, CONF_TYPE_FLAG, 0, 1, 0, NULL},
109
        {"softvol-max", &soft_vol_max, CONF_TYPE_FLOAT, CONF_RANGE, 10, 10000, NULL},
110
	{"volstep", &volstep, CONF_TYPE_INT, CONF_RANGE, 0, 100, NULL},
0.2.1 by Reinhard Tartler
Import upstream version 1.0~rc2+svn20090303
111
	{"volume", &start_volume, CONF_TYPE_FLOAT, CONF_RANGE, -1, 10000, NULL},
1 by Sebastian Dröge
Import upstream version 0.99+1.0pre7try2+cvs20051205
112
	{"master", "Option -master has been removed, use -af volume instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
113
	// override audio buffer size (used only by -ao oss, anyway obsolete...)
114
	{"abs", &ao_data.buffersize, CONF_TYPE_INT, CONF_MIN, 0, 0, NULL},
115
116
	// -ao pcm options:
1.1.4 by Mario Limonciello
Import upstream version 1.0~rc2
117
	{"aofile", "-aofile has been removed. Use -ao pcm:file=<filename> instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
118
	{"waveheader", "-waveheader has been removed. Use -ao pcm:waveheader instead.\n", CONF_TYPE_PRINT, 0, 0, 1, NULL},
119
	{"nowaveheader", "-nowaveheader has been removed. Use -ao pcm:nowaveheader instead.\n", CONF_TYPE_PRINT, 0, 1, 0, NULL},
1 by Sebastian Dröge
Import upstream version 0.99+1.0pre7try2+cvs20051205
120
121
	{"alsa", "-alsa has been removed. Remove it from your config file.\n",
122
            CONF_TYPE_PRINT, 0, 0, 0, NULL},
123
	{"noalsa", "-noalsa has been removed. Remove it from your config file.\n",
124
            CONF_TYPE_PRINT, 0, 0, 0, NULL},
125
	{"edlout", &edl_output_filename,  CONF_TYPE_STRING, 0, 0, 0, NULL}, 
126
0.2.1 by Reinhard Tartler
Import upstream version 1.0~rc2+svn20090303
127
#ifdef CONFIG_X11
1 by Sebastian Dröge
Import upstream version 0.99+1.0pre7try2+cvs20051205
128
	{"display", &mDisplayName, CONF_TYPE_STRING, 0, 0, 0, NULL},
129
#endif
130
131
	// -vo png only:
0.2.1 by Reinhard Tartler
Import upstream version 1.0~rc2+svn20090303
132
#ifdef CONFIG_PNG
1.1.4 by Mario Limonciello
Import upstream version 1.0~rc2
133
	{"z", "-z has been removed. Use -vo png:z=<0-9> instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
1 by Sebastian Dröge
Import upstream version 0.99+1.0pre7try2+cvs20051205
134
#endif
135
	// -vo jpeg only:
0.2.1 by Reinhard Tartler
Import upstream version 1.0~rc2+svn20090303
136
#ifdef CONFIG_JPEG
1.1.4 by Mario Limonciello
Import upstream version 1.0~rc2
137
	{"jpeg", "-jpeg has been removed. Use -vo jpeg:<options> instead.\n",
1 by Sebastian Dröge
Import upstream version 0.99+1.0pre7try2+cvs20051205
138
	    CONF_TYPE_PRINT, 0, 0, 0, NULL},
139
#endif
140
	// -vo sdl only:
141
	{"sdl", "Use -vo sdl:driver=<driver> instead of -vo sdl -sdl driver.\n",
142
	    CONF_TYPE_PRINT, 0, 0, 0, NULL},
1.1.4 by Mario Limonciello
Import upstream version 1.0~rc2
143
	{"noxv", "-noxv has been removed. Use -vo sdl:nohwaccel instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
144
	{"forcexv", "-forcexv has been removed. Use -vo sdl:forcexv instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
1 by Sebastian Dröge
Import upstream version 0.99+1.0pre7try2+cvs20051205
145
	// -ao sdl only:
146
	{"sdla", "Use -ao sdl:driver instead of -ao sdl -sdla driver.\n",
147
	    CONF_TYPE_PRINT, 0, 0, 0, NULL},
148
0.2.1 by Reinhard Tartler
Import upstream version 1.0~rc2+svn20090303
149
#if defined(CONFIG_FBDEV) || defined(CONFIG_VESA)
1 by Sebastian Dröge
Import upstream version 0.99+1.0pre7try2+cvs20051205
150
       {"monitor-hfreq", &monitor_hfreq_str, CONF_TYPE_STRING, 0, 0, 0, NULL}, 
151
       {"monitor-vfreq", &monitor_vfreq_str, CONF_TYPE_STRING, 0, 0, 0, NULL}, 
152
       {"monitor-dotclock", &monitor_dotclock_str, CONF_TYPE_STRING, 0, 0, 0, NULL}, 
153
#endif 
154
0.2.1 by Reinhard Tartler
Import upstream version 1.0~rc2+svn20090303
155
#ifdef CONFIG_FBDEV
1 by Sebastian Dröge
Import upstream version 0.99+1.0pre7try2+cvs20051205
156
	{"fbmode", &fb_mode_name, CONF_TYPE_STRING, 0, 0, 0, NULL},
157
	{"fbmodeconfig", &fb_mode_cfgfile, CONF_TYPE_STRING, 0, 0, 0, NULL},
158
#endif
0.2.1 by Reinhard Tartler
Import upstream version 1.0~rc2+svn20090303
159
#ifdef CONFIG_DIRECTFB
1 by Sebastian Dröge
Import upstream version 0.99+1.0pre7try2+cvs20051205
160
#if DIRECTFBVERSION > 912
1.1.4 by Mario Limonciello
Import upstream version 1.0~rc2
161
	{"dfbopts", "-dfbopts has been removed. Use -vf directfb:dfbopts=... instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
1 by Sebastian Dröge
Import upstream version 0.99+1.0pre7try2+cvs20051205
162
#endif
163
#endif
164
165
	// force window width/height or resolution (with -vm)
166
	{"x", &opt_screen_size_x, CONF_TYPE_INT, CONF_RANGE, 0, 4096, NULL},
167
	{"y", &opt_screen_size_y, CONF_TYPE_INT, CONF_RANGE, 0, 4096, NULL},
168
	// set screen dimensions (when not detectable or virtual!=visible)
169
	{"screenw", &vo_screenwidth, CONF_TYPE_INT, CONF_RANGE|CONF_OLD, 0, 4096, NULL},
170
	{"screenh", &vo_screenheight, CONF_TYPE_INT, CONF_RANGE|CONF_OLD, 0, 4096, NULL},
171
	// Geometry string
172
	{"geometry", &vo_geometry, CONF_TYPE_STRING, 0, 0, 0, NULL},
0.2.1 by Reinhard Tartler
Import upstream version 1.0~rc2+svn20090303
173
	// set aspect ratio of monitor - useful for 16:9 TV-out
1.1.4 by Mario Limonciello
Import upstream version 1.0~rc2
174
	{"monitoraspect", &force_monitor_aspect, CONF_TYPE_FLOAT, CONF_RANGE, 0.0, 9.0, NULL},
175
	{"monitorpixelaspect", &monitor_pixel_aspect, CONF_TYPE_FLOAT, CONF_RANGE, 0.2, 9.0, NULL},
1 by Sebastian Dröge
Import upstream version 0.99+1.0pre7try2+cvs20051205
176
	// video mode switching: (x11,xv,dga)
177
        {"vm", &vidmode, CONF_TYPE_FLAG, 0, 0, 1, NULL},
178
        {"novm", &vidmode, CONF_TYPE_FLAG, 0, 1, 0, NULL},
179
	// start in fullscreen mode:
180
	{"fs", &fullscreen, CONF_TYPE_FLAG, 0, 0, 1, NULL},
181
	{"nofs", &fullscreen, CONF_TYPE_FLAG, 0, 1, 0, NULL},
182
	// set fullscreen switch method (workaround for buggy WMs)
183
	{"fsmode", "-fsmode is obsolete, avoid it and use -fstype instead.\nIf you really want it, try -fsmode-dontuse, but don't report bugs!\n", CONF_TYPE_PRINT, CONF_RANGE, 0, 31, NULL},
184
	{"fsmode-dontuse", &vo_fsmode, CONF_TYPE_INT, CONF_RANGE, 0, 31, NULL},
185
	// set bpp (x11+vm, dga, fbdev, vesa, svga?)
186
        {"bpp", &vo_dbpp, CONF_TYPE_INT, CONF_RANGE, 0, 32, NULL},
187
	{"colorkey", &vo_colorkey, CONF_TYPE_INT, 0, 0, 0, NULL},
188
	{"nocolorkey", &vo_colorkey, CONF_TYPE_FLAG, 0, 0, 0x1000000, NULL},
189
	{"double", &vo_doublebuffering, CONF_TYPE_FLAG, 0, 0, 1, NULL},
190
	{"nodouble", &vo_doublebuffering, CONF_TYPE_FLAG, 0, 1, 0, NULL},
191
	// wait for v-sync (vesa)
192
	{"vsync", &vo_vsync, CONF_TYPE_FLAG, 0, 0, 1, NULL},
193
	{"novsync", &vo_vsync, CONF_TYPE_FLAG, 0, 1, 0, NULL},
1.1.4 by Mario Limonciello
Import upstream version 1.0~rc2
194
	{"panscan", &vo_panscan, CONF_TYPE_FLOAT, CONF_RANGE, -1.0, 1.0, NULL},
1 by Sebastian Dröge
Import upstream version 0.99+1.0pre7try2+cvs20051205
195
	{"panscanrange", &vo_panscanrange, CONF_TYPE_FLOAT, CONF_RANGE, -19.0, 99.0, NULL},
196
197
	{"grabpointer", &vo_grabpointer, CONF_TYPE_FLAG, 0, 0, 1, NULL},
198
	{"nograbpointer", &vo_grabpointer, CONF_TYPE_FLAG, 0, 1, 0, NULL},
199
	
200
    {"adapter", &vo_adapter_num, CONF_TYPE_INT, CONF_RANGE, 0, 5, NULL},
201
    {"refreshrate",&vo_refresh_rate,CONF_TYPE_INT,CONF_RANGE, 0,100, NULL},
0.2.1 by Reinhard Tartler
Import upstream version 1.0~rc2+svn20090303
202
	{"wid", &WinID, CONF_TYPE_INT64, 0, 0, 0, NULL},
203
#ifdef CONFIG_X11
1 by Sebastian Dröge
Import upstream version 0.99+1.0pre7try2+cvs20051205
204
	// x11,xv,xmga,xvidix
1.1.4 by Mario Limonciello
Import upstream version 1.0~rc2
205
	{"icelayer", "-icelayer has been removed. Use -fstype layer:<number> instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
1 by Sebastian Dröge
Import upstream version 0.99+1.0pre7try2+cvs20051205
206
	{"stop-xscreensaver", &stop_xscreensaver, CONF_TYPE_FLAG, 0, 0, 1, NULL},
207
	{"nostop-xscreensaver", &stop_xscreensaver, CONF_TYPE_FLAG, 0, 1, 0, NULL},
208
	{"stop_xscreensaver", "Use -stop-xscreensaver instead, options with _ have been obsoleted.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
209
	{"fstype", &vo_fstype_list, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL},
210
#endif
0.2.1 by Reinhard Tartler
Import upstream version 1.0~rc2+svn20090303
211
	{"heartbeat-cmd", &heartbeat_cmd, CONF_TYPE_STRING, 0, 0, 0, NULL},
1.1.4 by Mario Limonciello
Import upstream version 1.0~rc2
212
	{"mouseinput", &vo_nomouse_input, CONF_TYPE_FLAG, 0, 1, 0, NULL},
213
	{"nomouseinput", &vo_nomouse_input, CONF_TYPE_FLAG,0, 0, 1, NULL},
1 by Sebastian Dröge
Import upstream version 0.99+1.0pre7try2+cvs20051205
214
1.1.2 by Reinhard Tartler
Import upstream version 0.99+1.0pre8
215
	{"xineramascreen", &xinerama_screen, CONF_TYPE_INT, CONF_RANGE, -2, 32, NULL},
1 by Sebastian Dröge
Import upstream version 0.99+1.0pre7try2+cvs20051205
216
217
	{"brightness",&vo_gamma_brightness, CONF_TYPE_INT, CONF_RANGE, -100, 100, NULL},
218
	{"saturation",&vo_gamma_saturation, CONF_TYPE_INT, CONF_RANGE, -100, 100, NULL},
219
	{"contrast",&vo_gamma_contrast, CONF_TYPE_INT, CONF_RANGE, -100, 100, NULL},
220
	{"hue",&vo_gamma_hue, CONF_TYPE_INT, CONF_RANGE, -100, 100, NULL},
221
	{"keepaspect", &vo_keepaspect, CONF_TYPE_FLAG, 0, 0, 1, NULL},
222
	{"nokeepaspect", &vo_keepaspect, CONF_TYPE_FLAG, 0, 1, 0, NULL},
223
224
	// direct rendering (decoding to video out buffer)
225
	{"dr", &vo_directrendering, CONF_TYPE_FLAG, 0, 0, 1, NULL},
226
	{"nodr", &vo_directrendering, CONF_TYPE_FLAG, 0, 1, 0, NULL},
1.1.4 by Mario Limonciello
Import upstream version 1.0~rc2
227
	{"vaa_dr", "-vaa_dr has been removed, use -dr.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
228
	{"vaa_nodr", "-vaa_nodr has been removed, use -nodr.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
1 by Sebastian Dröge
Import upstream version 0.99+1.0pre7try2+cvs20051205
229
0.2.1 by Reinhard Tartler
Import upstream version 1.0~rc2+svn20090303
230
#ifdef CONFIG_AA
1 by Sebastian Dröge
Import upstream version 0.99+1.0pre7try2+cvs20051205
231
	// -vo aa
1.1.4 by Mario Limonciello
Import upstream version 1.0~rc2
232
	{"aa*", "-aa* has been removed. Use -vo aa:suboption instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
1 by Sebastian Dröge
Import upstream version 0.99+1.0pre7try2+cvs20051205
233
#endif
234
0.2.1 by Reinhard Tartler
Import upstream version 1.0~rc2+svn20090303
235
#ifdef CONFIG_ZR
1 by Sebastian Dröge
Import upstream version 0.99+1.0pre7try2+cvs20051205
236
	// -vo zr
237
	{"zr*", vo_zr_parseoption, CONF_TYPE_FUNC_FULL, 0, 0, 0, &vo_zr_revertoption },
238
#endif
239
0.2.1 by Reinhard Tartler
Import upstream version 1.0~rc2+svn20090303
240
#ifdef CONFIG_DXR2
1 by Sebastian Dröge
Import upstream version 0.99+1.0pre7try2+cvs20051205
241
	{"dxr2", &dxr2_opts, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
242
#endif
243
244
245
//---------------------- mplayer-only options ------------------------
246
1.1.3 by William Grant
Import upstream version 1.0~rc1
247
	{"use-filedir-conf", &use_filedir_conf, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
1.1.4 by Mario Limonciello
Import upstream version 1.0~rc2
248
	{"nouse-filedir-conf", &use_filedir_conf, CONF_TYPE_FLAG, CONF_GLOBAL, 1, 0, NULL},
0.2.1 by Reinhard Tartler
Import upstream version 1.0~rc2+svn20090303
249
#ifdef CONFIG_CRASH_DEBUG
1 by Sebastian Dröge
Import upstream version 0.99+1.0pre7try2+cvs20051205
250
	{"crash-debug", &crash_debug, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
251
	{"nocrash-debug", &crash_debug, CONF_TYPE_FLAG, CONF_GLOBAL, 1, 0, NULL},
252
#endif
253
	{"osdlevel", &osd_level, CONF_TYPE_INT, CONF_RANGE, 0, 3, NULL},
254
	{"osd-duration", &osd_duration, CONF_TYPE_INT, CONF_MIN, 0, 0, NULL},
0.2.1 by Reinhard Tartler
Import upstream version 1.0~rc2+svn20090303
255
#ifdef CONFIG_MENU
1 by Sebastian Dröge
Import upstream version 0.99+1.0pre7try2+cvs20051205
256
	{"menu", &use_menu, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
257
	{"nomenu", &use_menu, CONF_TYPE_FLAG, CONF_GLOBAL, 1, 0, NULL},
258
	{"menu-root", &menu_root, CONF_TYPE_STRING, CONF_GLOBAL, 0, 0, NULL},
259
	{"menu-cfg", &menu_cfg, CONF_TYPE_STRING, CONF_GLOBAL, 0, 0, NULL},
260
	{"menu-startup", &menu_startup, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
1.1.4 by Mario Limonciello
Import upstream version 1.0~rc2
261
	{"menu-keepdir", &menu_keepdir, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
262
	{"menu-chroot", &menu_chroot, CONF_TYPE_STRING, 0, 0, 0, NULL},
0.2.1 by Reinhard Tartler
Import upstream version 1.0~rc2+svn20090303
263
#ifdef CONFIG_FRIBIDI
1.1.4 by Mario Limonciello
Import upstream version 1.0~rc2
264
	{"menu-fribidi-charset", &menu_fribidi_charset, CONF_TYPE_STRING, 0, 0, 0, NULL},
265
	{"menu-flip-hebrew", &menu_flip_hebrew, CONF_TYPE_FLAG, 0, 0, 1, NULL},
266
	{"menu-noflip-hebrew", &menu_flip_hebrew, CONF_TYPE_FLAG, 0, 1, 0, NULL},
267
	{"menu-flip-hebrew-commas", &menu_fribidi_flip_commas, CONF_TYPE_FLAG, 0, 1, 0, NULL},
268
	{"menu-noflip-hebrew-commas", &menu_fribidi_flip_commas, CONF_TYPE_FLAG, 0, 0, 1, NULL},
0.2.1 by Reinhard Tartler
Import upstream version 1.0~rc2+svn20090303
269
#endif /* CONFIG_FRIBIDI */
1 by Sebastian Dröge
Import upstream version 0.99+1.0pre7try2+cvs20051205
270
#else
271
	{"menu", "OSD menu support was not compiled in.\n", CONF_TYPE_PRINT,0, 0, 0, NULL},
0.2.1 by Reinhard Tartler
Import upstream version 1.0~rc2+svn20090303
272
#endif /* CONFIG_MENU */
1 by Sebastian Dröge
Import upstream version 0.99+1.0pre7try2+cvs20051205
273
274
	// these should be moved to -common, and supported in MEncoder
275
	{"vobsub", &vobsub_name, CONF_TYPE_STRING, 0, 0, 0, NULL},
276
	{"vobsubid", &vobsub_id, CONF_TYPE_INT, CONF_RANGE, 0, 31, NULL},
0.2.1 by Reinhard Tartler
Import upstream version 1.0~rc2+svn20090303
277
#ifdef CONFIG_UNRAR_EXEC
278
	{"unrarexec", &unrar_executable, CONF_TYPE_STRING, 0, 0, 0, NULL},
279
#endif
1 by Sebastian Dröge
Import upstream version 0.99+1.0pre7try2+cvs20051205
280
281
	{"sstep", &step_sec, CONF_TYPE_INT, CONF_MIN, 0, 0, NULL},
282
283
	{"framedrop", &frame_dropping, CONF_TYPE_FLAG, 0, 0, 1, NULL},
284
	{"hardframedrop", &frame_dropping, CONF_TYPE_FLAG, 0, 0, 2, NULL},
285
	{"noframedrop", &frame_dropping, CONF_TYPE_FLAG, 0, 1, 0, NULL},
286
287
	{"autoq", &auto_quality, CONF_TYPE_INT, CONF_RANGE, 0, 100, NULL},
288
289
	{"benchmark", &benchmark, CONF_TYPE_FLAG, 0, 0, 1, NULL},
290
291
	// dump some stream out instead of playing the file
292
	// this really should be in MEncoder instead of MPlayer... -> TODO
293
	{"dumpfile", &stream_dump_name, CONF_TYPE_STRING, 0, 0, 0, NULL},
294
	{"dumpaudio", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 1, NULL},
295
	{"dumpvideo", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 2, NULL},
296
	{"dumpsub", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 3, NULL},
297
	{"dumpmpsub", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 4, NULL},
298
	{"dumpstream", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 5, NULL},
299
	{"dumpsrtsub", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 6, NULL},
300
	{"dumpmicrodvdsub", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 7, NULL},
301
	{"dumpjacosub", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 8, NULL},
302
	{"dumpsami", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 9, NULL},
303
0.2.1 by Reinhard Tartler
Import upstream version 1.0~rc2+svn20090303
304
#ifdef CONFIG_LIRC
1 by Sebastian Dröge
Import upstream version 0.99+1.0pre7try2+cvs20051205
305
	{"lircconf", &lirc_configfile, CONF_TYPE_STRING, CONF_GLOBAL, 0, 0, NULL},
306
#endif
307
1.1.4 by Mario Limonciello
Import upstream version 1.0~rc2
308
	{"gui", "The -gui option will only work as the first command line argument.\n", CONF_TYPE_PRINT, 0, 0, 0, (void *)1},
309
	{"nogui", "The -nogui option will only work as the first command line argument.\n", CONF_TYPE_PRINT, 0, 0, 0, (void *)1},
1 by Sebastian Dröge
Import upstream version 0.99+1.0pre7try2+cvs20051205
310
      
0.2.1 by Reinhard Tartler
Import upstream version 1.0~rc2+svn20090303
311
#ifdef CONFIG_GUI
1 by Sebastian Dröge
Import upstream version 0.99+1.0pre7try2+cvs20051205
312
	{"skin", &skinName, CONF_TYPE_STRING, CONF_GLOBAL, 0, 0, NULL},
313
	{"enqueue", &enqueue, CONF_TYPE_FLAG, 0, 0, 1, NULL},
1.1.4 by Mario Limonciello
Import upstream version 1.0~rc2
314
	{"noenqueue", &enqueue, CONF_TYPE_FLAG, 0, 1, 0, NULL},
1 by Sebastian Dröge
Import upstream version 0.99+1.0pre7try2+cvs20051205
315
	{"guiwid", &guiWinID, CONF_TYPE_INT, 0, 0, 0, NULL},
316
#endif
317
1.1.4 by Mario Limonciello
Import upstream version 1.0~rc2
318
	{"noloop", &mpctx_s.loop_times, CONF_TYPE_FLAG, 0, 0, -1, NULL},
319
	{"loop", &mpctx_s.loop_times, CONF_TYPE_INT, CONF_RANGE, -1, 10000, NULL},
1 by Sebastian Dröge
Import upstream version 0.99+1.0pre7try2+cvs20051205
320
	{"playlist", NULL, CONF_TYPE_STRING, 0, 0, 0, NULL},
321
322
	// a-v sync stuff:
0.2.1 by Reinhard Tartler
Import upstream version 1.0~rc2+svn20090303
323
        {"correct-pts", &user_correct_pts, CONF_TYPE_FLAG, 0, 0, 1, NULL},
324
        {"nocorrect-pts", &user_correct_pts, CONF_TYPE_FLAG, 0, 1, 0, NULL},
1 by Sebastian Dröge
Import upstream version 0.99+1.0pre7try2+cvs20051205
325
	{"noautosync", &autosync, CONF_TYPE_FLAG, 0, 0, -1, NULL},
326
	{"autosync", &autosync, CONF_TYPE_INT, CONF_RANGE, 0, 10000, NULL},
327
//	{"dapsync", &dapsync, CONF_TYPE_FLAG, 0, 0, 1, NULL},
328
//	{"nodapsync", &dapsync, CONF_TYPE_FLAG, 0, 1, 0, NULL},
329
330
	{"softsleep", &softsleep, CONF_TYPE_FLAG, 0, 0, 1, NULL},
331
#ifdef HAVE_RTC
332
	{"nortc", &nortc, CONF_TYPE_FLAG, 0, 0, 1, NULL},
1.1.4 by Mario Limonciello
Import upstream version 1.0~rc2
333
	{"rtc", &nortc, CONF_TYPE_FLAG, 0, 1, 0, NULL},
1 by Sebastian Dröge
Import upstream version 0.99+1.0pre7try2+cvs20051205
334
	{"rtc-device", &rtc_device, CONF_TYPE_STRING, 0, 0, 0, NULL},
335
#endif
336
337
	{"term-osd", &term_osd, CONF_TYPE_FLAG, 0, 0, 1, NULL},
1.1.4 by Mario Limonciello
Import upstream version 1.0~rc2
338
	{"noterm-osd", &term_osd, CONF_TYPE_FLAG, 0, 1, 0, NULL},
1 by Sebastian Dröge
Import upstream version 0.99+1.0pre7try2+cvs20051205
339
    	{"term-osd-esc", &term_osd_esc, CONF_TYPE_STRING, 0, 0, 1, NULL},
1.1.2 by Reinhard Tartler
Import upstream version 0.99+1.0pre8
340
	{"playing-msg", &playing_msg, CONF_TYPE_STRING, 0, 0, 0, NULL},
1 by Sebastian Dröge
Import upstream version 0.99+1.0pre7try2+cvs20051205
341
342
	{"slave", &slave_mode, CONF_TYPE_FLAG,CONF_GLOBAL , 0, 1, NULL},
343
	{"idle", &player_idle_mode, CONF_TYPE_FLAG,CONF_GLOBAL , 0, 1, NULL},
1.1.4 by Mario Limonciello
Import upstream version 1.0~rc2
344
	{"noidle", &player_idle_mode, CONF_TYPE_FLAG,CONF_GLOBAL , 1, 0, NULL},
1 by Sebastian Dröge
Import upstream version 0.99+1.0pre7try2+cvs20051205
345
	{"use-stdin", "-use-stdin has been renamed to -noconsolecontrols, use that instead.", CONF_TYPE_PRINT, 0, 0, 0, NULL},
346
	{"key-fifo-size", &key_fifo_size, CONF_TYPE_INT, CONF_RANGE, 2, 65000, NULL},
347
	{"noconsolecontrols", &noconsolecontrols, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
1.1.4 by Mario Limonciello
Import upstream version 1.0~rc2
348
	{"consolecontrols", &noconsolecontrols, CONF_TYPE_FLAG, CONF_GLOBAL, 1, 0, NULL},
1.1.3 by William Grant
Import upstream version 1.0~rc1
349
	{"mouse-movements", &enable_mouse_movements, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
1.1.4 by Mario Limonciello
Import upstream version 1.0~rc2
350
	{"nomouse-movements", &enable_mouse_movements, CONF_TYPE_FLAG, CONF_GLOBAL, 1, 0, NULL},
351
	{"doubleclick-time", &doubleclick_time, CONF_TYPE_INT, CONF_RANGE, 0, 1000, NULL},
0.2.1 by Reinhard Tartler
Import upstream version 1.0~rc2+svn20090303
352
#ifdef CONFIG_TV
1.1.4 by Mario Limonciello
Import upstream version 1.0~rc2
353
	{"tvscan", tvscan_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
354
#else
355
	{"tvscan", "MPlayer was compiled without TV interface support.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
0.2.1 by Reinhard Tartler
Import upstream version 1.0~rc2+svn20090303
356
#endif /* CONFIG_TV */
357
358
#include "cfg-common-opts.h"
359
1.1.2 by Reinhard Tartler
Import upstream version 0.99+1.0pre8
360
	{"list-properties", &list_properties, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
1.1.3 by William Grant
Import upstream version 1.0~rc1
361
	{"identify", &mp_msg_levels[MSGT_IDENTIFY], CONF_TYPE_FLAG, CONF_GLOBAL, 0, MSGL_V, NULL},
1 by Sebastian Dröge
Import upstream version 0.99+1.0pre7try2+cvs20051205
362
	{"-help", help_text, CONF_TYPE_PRINT, CONF_NOCFG|CONF_GLOBAL, 0, 0, NULL},
363
	{"help", help_text, CONF_TYPE_PRINT, CONF_NOCFG|CONF_GLOBAL, 0, 0, NULL},
364
	{"h", help_text, CONF_TYPE_PRINT, CONF_NOCFG|CONF_GLOBAL, 0, 0, NULL},
365
366
	{"vd", vd_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
367
	{NULL, NULL, 0, 0, 0, 0, NULL}
368
};
0.2.1 by Reinhard Tartler
Import upstream version 1.0~rc2+svn20090303
369
370
#endif /* MPLAYER_CFG_MPLAYER_H */
371