Mercurial > mplayer.hg
comparison cfg-mplayer.h @ 457:cc7e37b09748
add mixer params
author | pontscho |
---|---|
date | Sun, 15 Apr 2001 23:10:05 +0000 |
parents | 198b46b739d8 |
children | 49b0474b2e26 |
comparison
equal
deleted
inserted
replaced
456:884ea555b1a2 | 457:cc7e37b09748 |
---|---|
10 extern char *monitor_vfreq_str; | 10 extern char *monitor_vfreq_str; |
11 extern char *monitor_dotclock_str; | 11 extern char *monitor_dotclock_str; |
12 #endif | 12 #endif |
13 | 13 |
14 struct config conf[]={ | 14 struct config conf[]={ |
15 /* name, pointer, type, flags, min, max */ | 15 /* name, pointer, type, flags, min, max */ |
16 {"include", cfg_include, CONF_TYPE_FUNC_PARAM, 0, 0, 0}, /* this must be the first!!! */ | 16 {"include", cfg_include, CONF_TYPE_FUNC_PARAM, 0, 0, 0}, /* this must be the first!!! */ |
17 {"o", "Option -o has been renamed to -vo (video-out), use -vo !\n", | 17 {"o", "Option -o has been renamed to -vo (video-out), use -vo !\n", |
18 CONF_TYPE_PRINT, CONF_NOCFG, 0, 0}, | 18 CONF_TYPE_PRINT, CONF_NOCFG, 0, 0}, |
19 {"vo", &video_driver, CONF_TYPE_STRING, 0, 0, 0}, | 19 {"vo", &video_driver, CONF_TYPE_STRING, 0, 0, 0}, |
20 {"dsp", &dsp, CONF_TYPE_STRING, 0, 0, 0}, | 20 {"dsp", &dsp, CONF_TYPE_STRING, 0, 0, 0}, |
21 {"mixer", &mixer_device, CONF_TYPE_STRING, 0, 0, 0}, | |
22 {"master", &mixer_usemaster, CONF_TYPE_FLAG, 0, 0, 1}, | |
21 #ifdef HAVE_FBDEV | 23 #ifdef HAVE_FBDEV |
22 {"fb", &fb_dev_name, CONF_TYPE_STRING, 0, 0, 0}, | 24 {"fb", &fb_dev_name, CONF_TYPE_STRING, 0, 0, 0}, |
23 {"fbmode", &fb_mode_name, CONF_TYPE_STRING, 0, 0, 0}, | 25 {"fbmode", &fb_mode_name, CONF_TYPE_STRING, 0, 0, 0}, |
24 {"fbmodeconfig", &fb_mode_cfgfile, CONF_TYPE_STRING, 0, 0, 0}, | 26 {"fbmodeconfig", &fb_mode_cfgfile, CONF_TYPE_STRING, 0, 0, 0}, |
25 {"monitor_hfreq", &monitor_hfreq_str, CONF_TYPE_STRING, 0, 0, 0}, | 27 {"monitor_hfreq", &monitor_hfreq_str, CONF_TYPE_STRING, 0, 0, 0}, |
26 {"monitor_vfreq", &monitor_vfreq_str, CONF_TYPE_STRING, 0, 0, 0}, | 28 {"monitor_vfreq", &monitor_vfreq_str, CONF_TYPE_STRING, 0, 0, 0}, |
27 {"monitor_dotclock", &monitor_dotclock_str, CONF_TYPE_STRING, 0, 0, 0}, | 29 {"monitor_dotclock", &monitor_dotclock_str, CONF_TYPE_STRING, 0, 0, 0}, |
28 #endif | 30 #endif |
29 {"encode", &encode_name, CONF_TYPE_STRING, 0, 0, 0}, | 31 {"encode", &encode_name, CONF_TYPE_STRING, 0, 0, 0}, |
30 {"sub", &sub_name, CONF_TYPE_STRING, 0, 0, 0}, | 32 {"sub", &sub_name, CONF_TYPE_STRING, 0, 0, 0}, |
31 {"subdelay", &sub_delay, CONF_TYPE_FLOAT, 0, 0.0, 10.0}, | 33 {"subdelay", &sub_delay, CONF_TYPE_FLOAT, 0, 0.0, 10.0}, |
32 {"subfps", &sub_fps, CONF_TYPE_FLOAT, 0, 0.0, 10.0}, | 34 {"subfps", &sub_fps, CONF_TYPE_FLOAT, 0, 0.0, 10.0}, |
33 {"font", &font_name, CONF_TYPE_STRING, 0, 0, 0}, | 35 {"font", &font_name, CONF_TYPE_STRING, 0, 0, 0}, |
34 {"ffactor", &font_factor, CONF_TYPE_FLOAT, CONF_RANGE, 0.0, 10.0}, | 36 {"ffactor", &font_factor, CONF_TYPE_FLOAT, CONF_RANGE, 0.0, 10.0}, |
35 {"bg", &play_in_bg, CONF_TYPE_FLAG, 0, 0, 1}, | 37 {"bg", &play_in_bg, CONF_TYPE_FLAG, 0, 0, 1}, |
36 {"nobg", &play_in_bg, CONF_TYPE_FLAG, 0, 1, 0}, | 38 {"nobg", &play_in_bg, CONF_TYPE_FLAG, 0, 1, 0}, |
37 {"sb", &seek_to_byte, CONF_TYPE_INT, CONF_MIN, 0, 0}, | 39 {"sb", &seek_to_byte, CONF_TYPE_INT, CONF_MIN, 0, 0}, |
38 // {"ss", &seek_to_sec, CONF_TYPE_INT, CONF_MIN, 0, 0}, | 40 // {"ss", &seek_to_sec, CONF_TYPE_INT, CONF_MIN, 0, 0}, |
39 {"sound", &has_audio, CONF_TYPE_FLAG, 0, 0, 1}, | 41 {"sound", &has_audio, CONF_TYPE_FLAG, 0, 0, 1}, |
40 {"nosound", &has_audio, CONF_TYPE_FLAG, 0, 1, 0}, | 42 {"nosound", &has_audio, CONF_TYPE_FLAG, 0, 1, 0}, |
41 {"abs", &audio_buffer_size, CONF_TYPE_INT, CONF_MIN, 0, 0}, | 43 {"abs", &audio_buffer_size, CONF_TYPE_INT, CONF_MIN, 0, 0}, |
42 {"delay", &audio_delay, CONF_TYPE_FLOAT, CONF_RANGE, -10.0, 10.0}, | 44 {"delay", &audio_delay, CONF_TYPE_FLOAT, CONF_RANGE, -10.0, 10.0}, |
43 {"bps", &pts_from_bps, CONF_TYPE_FLAG, 0, 0, 1}, | 45 {"bps", &pts_from_bps, CONF_TYPE_FLAG, 0, 0, 1}, |
44 {"nobps", &pts_from_bps, CONF_TYPE_FLAG, 0, 1, 0}, | 46 {"nobps", &pts_from_bps, CONF_TYPE_FLAG, 0, 1, 0}, |
45 {"alsa", &alsa, CONF_TYPE_FLAG, 0, 0, 1}, | 47 {"alsa", &alsa, CONF_TYPE_FLAG, 0, 0, 1}, |
46 {"noalsa", &alsa, CONF_TYPE_FLAG, 0, 1, 0}, | 48 {"noalsa", &alsa, CONF_TYPE_FLAG, 0, 1, 0}, |
47 {"ni", &force_ni, CONF_TYPE_FLAG, 0, 0, 1}, | 49 {"ni", &force_ni, CONF_TYPE_FLAG, 0, 0, 1}, |
48 {"noni", &force_ni, CONF_TYPE_FLAG, 0, 1, 0}, | 50 {"noni", &force_ni, CONF_TYPE_FLAG, 0, 1, 0}, |
49 {"aid", &audio_id, CONF_TYPE_INT, CONF_RANGE, 0, 256}, | 51 {"aid", &audio_id, CONF_TYPE_INT, CONF_RANGE, 0, 256}, |
50 {"vid", &video_id, CONF_TYPE_INT, CONF_RANGE, 0, 256}, | 52 {"vid", &video_id, CONF_TYPE_INT, CONF_RANGE, 0, 256}, |
51 // {"auds", &avi_header.audio_codec, CONF_TYPE_STRING, 0, 0, 0}, | 53 // {"auds", &avi_header.audio_codec, CONF_TYPE_STRING, 0, 0, 0}, |
52 // {"vids", &avi_header.video_codec, CONF_TYPE_STRING, 0, 0, 0}, | 54 // {"vids", &avi_header.video_codec, CONF_TYPE_STRING, 0, 0, 0}, |
53 {"mc", &default_max_pts_correction, CONF_TYPE_FLOAT, CONF_RANGE, 0, 10}, | 55 {"mc", &default_max_pts_correction, CONF_TYPE_FLOAT, CONF_RANGE, 0, 10}, |
54 {"fps", &force_fps, CONF_TYPE_FLOAT, CONF_MIN, 0, 0}, | 56 {"fps", &force_fps, CONF_TYPE_FLOAT, CONF_MIN, 0, 0}, |
55 {"afm", &audio_format, CONF_TYPE_INT, CONF_RANGE, 1, 6}, | 57 {"afm", &audio_format, CONF_TYPE_INT, CONF_RANGE, 1, 6}, |
56 {"vcd", &vcd_track, CONF_TYPE_INT, CONF_RANGE, 1, 99}, | 58 {"vcd", &vcd_track, CONF_TYPE_INT, CONF_RANGE, 1, 99}, |
57 {"divxq", "Option -divxq has been renamed to -pp (postprocessing), use -pp !\n", | 59 {"divxq", "Option -divxq has been renamed to -pp (postprocessing), use -pp !\n", |
58 CONF_TYPE_PRINT, 0, 0, 0}, | 60 CONF_TYPE_PRINT, 0, 0, 0}, |
59 {"pp", &divx_quality, CONF_TYPE_INT, CONF_RANGE, 0, 63}, | 61 {"pp", &divx_quality, CONF_TYPE_INT, CONF_RANGE, 0, 63}, |
60 {"br", &encode_bitrate, CONF_TYPE_INT, CONF_RANGE, 10000, 10000000}, | 62 {"br", &encode_bitrate, CONF_TYPE_INT, CONF_RANGE, 10000, 10000000}, |
61 | 63 |
62 {"x", &screen_size_x, CONF_TYPE_INT, CONF_RANGE, 1, 4096}, | 64 {"x", &screen_size_x, CONF_TYPE_INT, CONF_RANGE, 1, 4096}, |
63 {"y", &screen_size_y, CONF_TYPE_INT, CONF_RANGE, 1, 4096}, | 65 {"y", &screen_size_y, CONF_TYPE_INT, CONF_RANGE, 1, 4096}, |
64 {"xy", &screen_size_xy, CONF_TYPE_INT, CONF_RANGE, 1, 4096}, | 66 {"xy", &screen_size_xy, CONF_TYPE_INT, CONF_RANGE, 1, 4096}, |
65 {"vm", &vidmode, CONF_TYPE_FLAG, 0, 0, 1}, | 67 {"vm", &vidmode, CONF_TYPE_FLAG, 0, 0, 1}, |
66 {"novm", &vidmode, CONF_TYPE_FLAG, 0, 1, 0}, | 68 {"novm", &vidmode, CONF_TYPE_FLAG, 0, 1, 0}, |
67 {"fs", &fullscreen, CONF_TYPE_FLAG, 0, 0, 1}, | 69 {"fs", &fullscreen, CONF_TYPE_FLAG, 0, 0, 1}, |
68 {"nofs", &fullscreen, CONF_TYPE_FLAG, 0, 1, 0}, | 70 {"nofs", &fullscreen, CONF_TYPE_FLAG, 0, 1, 0}, |
69 {"zoom", &softzoom, CONF_TYPE_FLAG, 0, 0, 1}, | 71 {"zoom", &softzoom, CONF_TYPE_FLAG, 0, 0, 1}, |
70 {"nozoom", &softzoom, CONF_TYPE_FLAG, 0, 1, 0}, | 72 {"nozoom", &softzoom, CONF_TYPE_FLAG, 0, 1, 0}, |
71 | 73 |
72 {"bpp", &vo_dbpp, CONF_TYPE_INT, CONF_RANGE, 0, 32}, | 74 {"bpp", &vo_dbpp, CONF_TYPE_INT, CONF_RANGE, 0, 32}, |
73 | 75 |
74 {"idx", &no_index, CONF_TYPE_FLAG, 0, 1, 0}, | 76 {"idx", &no_index, CONF_TYPE_FLAG, 0, 1, 0}, |
75 {"noidx", &no_index, CONF_TYPE_FLAG, 0, 0, 1}, | 77 {"noidx", &no_index, CONF_TYPE_FLAG, 0, 0, 1}, |
76 {"verbose", &verbose, CONF_TYPE_INT, CONF_RANGE, 0, 100}, | 78 {"verbose", &verbose, CONF_TYPE_INT, CONF_RANGE, 0, 100}, |
77 {"v", cfg_inc_verbose, CONF_TYPE_FUNC, 0, 0, 0}, | 79 {"v", cfg_inc_verbose, CONF_TYPE_FUNC, 0, 0, 0}, |
78 {"-help", help_text, CONF_TYPE_PRINT, CONF_NOCFG, 0, 0}, | 80 {"-help", help_text, CONF_TYPE_PRINT, CONF_NOCFG, 0, 0}, |
79 {"help", help_text, CONF_TYPE_PRINT, CONF_NOCFG, 0, 0}, | 81 {"help", help_text, CONF_TYPE_PRINT, CONF_NOCFG, 0, 0}, |
80 {"h", help_text, CONF_TYPE_PRINT, CONF_NOCFG, 0, 0}, | 82 {"h", help_text, CONF_TYPE_PRINT, CONF_NOCFG, 0, 0}, |
81 {NULL, NULL, 0, 0, 0, 0} | 83 {NULL, NULL, 0, 0, 0, 0} |
82 }; | 84 }; |
83 | 85 |