annotate cfg-common.h @ 33764:498e3d5f223b

Cosmetic: Order prototypes in interface.h.
author ib
date Fri, 08 Jul 2011 21:08:19 +0000
parents 09bdaa0c82b3
children 9b617726812c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
30429
c1a3f1bbba26 Add license header to all top-level files missing them.
diego
parents: 29809
diff changeset
1 /*
c1a3f1bbba26 Add license header to all top-level files missing them.
diego
parents: 29809
diff changeset
2 * This file is part of MPlayer.
c1a3f1bbba26 Add license header to all top-level files missing them.
diego
parents: 29809
diff changeset
3 *
c1a3f1bbba26 Add license header to all top-level files missing them.
diego
parents: 29809
diff changeset
4 * MPlayer is free software; you can redistribute it and/or modify
c1a3f1bbba26 Add license header to all top-level files missing them.
diego
parents: 29809
diff changeset
5 * it under the terms of the GNU General Public License as published by
c1a3f1bbba26 Add license header to all top-level files missing them.
diego
parents: 29809
diff changeset
6 * the Free Software Foundation; either version 2 of the License, or
c1a3f1bbba26 Add license header to all top-level files missing them.
diego
parents: 29809
diff changeset
7 * (at your option) any later version.
c1a3f1bbba26 Add license header to all top-level files missing them.
diego
parents: 29809
diff changeset
8 *
c1a3f1bbba26 Add license header to all top-level files missing them.
diego
parents: 29809
diff changeset
9 * MPlayer is distributed in the hope that it will be useful,
c1a3f1bbba26 Add license header to all top-level files missing them.
diego
parents: 29809
diff changeset
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
c1a3f1bbba26 Add license header to all top-level files missing them.
diego
parents: 29809
diff changeset
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
c1a3f1bbba26 Add license header to all top-level files missing them.
diego
parents: 29809
diff changeset
12 * GNU General Public License for more details.
c1a3f1bbba26 Add license header to all top-level files missing them.
diego
parents: 29809
diff changeset
13 *
c1a3f1bbba26 Add license header to all top-level files missing them.
diego
parents: 29809
diff changeset
14 * You should have received a copy of the GNU General Public License along
c1a3f1bbba26 Add license header to all top-level files missing them.
diego
parents: 29809
diff changeset
15 * with MPlayer; if not, write to the Free Software Foundation, Inc.,
c1a3f1bbba26 Add license header to all top-level files missing them.
diego
parents: 29809
diff changeset
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
c1a3f1bbba26 Add license header to all top-level files missing them.
diego
parents: 29809
diff changeset
17 */
c1a3f1bbba26 Add license header to all top-level files missing them.
diego
parents: 29809
diff changeset
18
26360
a48df598c055 Split cfg-common.h into two separate header files. It was being included twice
diego
parents: 26130
diff changeset
19 #ifndef MPLAYER_CFG_COMMON_H
a48df598c055 Split cfg-common.h into two separate header files. It was being included twice
diego
parents: 26130
diff changeset
20 #define MPLAYER_CFG_COMMON_H
2790
98769cea155c added tv subsystem
alex
parents: 2643
diff changeset
21
27061
0080f5b9d94f Add missing #includes to fix 'make checkheaders'.
diego
parents: 26416
diff changeset
22 #include <sys/types.h>
2790
98769cea155c added tv subsystem
alex
parents: 2643
diff changeset
23
31220
002cdc635c03 Use the -a52drc option also for the libavcodec decoder.
reimar
parents: 31184
diff changeset
24 #include "libmpcodecs/ad.h"
31402
c9e6eb55607e Move audio_output_channels/fakemono extern variable declarations to dec_audio.h.
diego
parents: 31401
diff changeset
25 #include "libmpcodecs/dec_audio.h"
31401
262d9759bfc5 Move field_dominance extern variable declaration to dec_video.h.
diego
parents: 31400
diff changeset
26 #include "libmpcodecs/dec_video.h"
31220
002cdc635c03 Use the -a52drc option also for the libavcodec decoder.
reimar
parents: 31184
diff changeset
27 #include "libmpcodecs/vd.h"
31416
14f43ed62015 Move sws_flags extern variable declaration to vf_scale.h.
diego
parents: 31415
diff changeset
28 #include "libmpcodecs/vf_scale.h"
31418
d2fd0e4d0b9a Move hr_mp3_seek extern variable declaration to demux_audio.h.
diego
parents: 31417
diff changeset
29 #include "libmpdemux/demux_audio.h"
31414
5e0a4702be52 Add header file for externally used variable ps_probe.
diego
parents: 31413
diff changeset
30 #include "libmpdemux/demux_mpg.h"
31368
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
31 #include "libmpdemux/demux_ts.h"
31413
0f5751eb7126 Add header file for VIVO extern variable declarations.
diego
parents: 31412
diff changeset
32 #include "libmpdemux/demux_viv.h"
31411
bfa89aebee85 Move demuxer-related extern variable declarations to demuxer.h.
diego
parents: 31410
diff changeset
33 #include "libmpdemux/demuxer.h"
31423
5416dfe4ba1c Add appropriate #include instead of duplicating mf_ extern var declarations.
diego
parents: 31422
diff changeset
34 #include "libmpdemux/mf.h"
31415
980678284eb5 Add appropriate #include instead of duplicating pp_help extern declaration.
diego
parents: 31414
diff changeset
35 #include "libpostproc/postprocess.h"
32467
fbe5c829c69b Move libvo/sub.[ch] from libvo to sub.
cigaes
parents: 32326
diff changeset
36 #include "sub/sub.h"
33701
09bdaa0c82b3 Make vobsub options available in mencoder, though with my test file
reimar
parents: 33600
diff changeset
37 #include "sub/unrar_exec.h"
31220
002cdc635c03 Use the -a52drc option also for the libavcodec decoder.
reimar
parents: 31184
diff changeset
38 #include "osdep/priority.h"
31441
6f152da62242 Reorder #includes and drop an unnecessary set of #ifdefs.
diego
parents: 31439
diff changeset
39 #include "stream/cdd.h"
31393
496c8a6d045b Move extern variable declarations for network.c to network.h.
diego
parents: 31392
diff changeset
40 #include "stream/network.h"
31419
8abdc84493f3 Move pvr_ extern variable declarations to stream/pvr.h.
diego
parents: 31418
diff changeset
41 #include "stream/pvr.h"
31451
b109d4fd7f3f Move dvbin_opts_conf extern variable declaration to stream.h.
diego
parents: 31449
diff changeset
42 #include "stream/stream.h"
31441
6f152da62242 Reorder #includes and drop an unnecessary set of #ifdefs.
diego
parents: 31439
diff changeset
43 #include "stream/stream_radio.h"
31429
b542cd25f03d Move network_prefer_ipv4/reuse_socket extern declarations to tcp.h/udp.h.
diego
parents: 31426
diff changeset
44 #include "stream/tcp.h"
31441
6f152da62242 Reorder #includes and drop an unnecessary set of #ifdefs.
diego
parents: 31439
diff changeset
45 #include "stream/tv.h"
31429
b542cd25f03d Move network_prefer_ipv4/reuse_socket extern declarations to tcp.h/udp.h.
diego
parents: 31426
diff changeset
46 #include "stream/udp.h"
31400
f6864e52d6be Move codecs_file extern variable declaration to codec-cfg.h.
diego
parents: 31393
diff changeset
47 #include "codec-cfg.h"
31441
6f152da62242 Reorder #includes and drop an unnecessary set of #ifdefs.
diego
parents: 31439
diff changeset
48 #include "config.h"
6f152da62242 Reorder #includes and drop an unnecessary set of #ifdefs.
diego
parents: 31439
diff changeset
49 #include "m_config.h"
6f152da62242 Reorder #includes and drop an unnecessary set of #ifdefs.
diego
parents: 31439
diff changeset
50 #include "m_option.h"
6f152da62242 Reorder #includes and drop an unnecessary set of #ifdefs.
diego
parents: 31439
diff changeset
51 #include "mp_msg.h"
31430
a2c6762a9adc Move noconfig_opts extern variable declaration to mpcommon.h.
diego
parents: 31429
diff changeset
52 #include "mpcommon.h"
11759
29eea271490e add -codecs-file for selecting a specific codecs.conf on the comand line
attila
parents: 11592
diff changeset
53
8531
1aa2c9b460af Merged EDL 0.5 patch - it's something like Quicktime's edit lists.
arpi
parents: 8361
diff changeset
54
19568
bd821fd3e244 Radio support, patch by Vladimir Voroshilov (voroshil gmail com)
reimar
parents: 19563
diff changeset
55
27341
e7c989f7a7c9 Start unifying names of internal preprocessor directives.
diego
parents: 27061
diff changeset
56 #ifdef CONFIG_RADIO
25233
7c82d9df9c38 Make the main m_option_t arrays const
reimar
parents: 25231
diff changeset
57 const m_option_t radioopts_conf[]={
23890
4587edae1790 Replacing global variables in radio:// with
voroshil
parents: 23889
diff changeset
58 {"device", &stream_radio_defaults.device, CONF_TYPE_STRING, 0, 0 ,0, NULL},
4587edae1790 Replacing global variables in radio:// with
voroshil
parents: 23889
diff changeset
59 {"driver", &stream_radio_defaults.driver, CONF_TYPE_STRING, 0, 0 ,0, NULL},
20985
20110e4437c6 Add *BSD BT848 radio support
voroshil
parents: 20901
diff changeset
60 #ifdef RADIO_BSDBT848_HDR
23890
4587edae1790 Replacing global variables in radio:// with
voroshil
parents: 23889
diff changeset
61 {"freq_min", &stream_radio_defaults.freq_min, CONF_TYPE_FLOAT, 0, 0 ,0, NULL},
4587edae1790 Replacing global variables in radio:// with
voroshil
parents: 23889
diff changeset
62 {"freq_max", &stream_radio_defaults.freq_max, CONF_TYPE_FLOAT, 0, 0 ,0, NULL},
20985
20110e4437c6 Add *BSD BT848 radio support
voroshil
parents: 20901
diff changeset
63 #endif
23890
4587edae1790 Replacing global variables in radio:// with
voroshil
parents: 23889
diff changeset
64 {"channels", &stream_radio_defaults.channels, CONF_TYPE_STRING_LIST, 0, 0 ,0, NULL},
4587edae1790 Replacing global variables in radio:// with
voroshil
parents: 23889
diff changeset
65 {"volume", &stream_radio_defaults.volume, CONF_TYPE_INT, CONF_RANGE, 0 ,100, NULL},
4587edae1790 Replacing global variables in radio:// with
voroshil
parents: 23889
diff changeset
66 {"adevice", &stream_radio_defaults.adevice, CONF_TYPE_STRING, 0, 0 ,0, NULL},
4587edae1790 Replacing global variables in radio:// with
voroshil
parents: 23889
diff changeset
67 {"arate", &stream_radio_defaults.arate, CONF_TYPE_INT, CONF_MIN, 0 ,0, NULL},
4587edae1790 Replacing global variables in radio:// with
voroshil
parents: 23889
diff changeset
68 {"achannels", &stream_radio_defaults.achannels, CONF_TYPE_INT, CONF_MIN, 0 ,0, NULL},
19568
bd821fd3e244 Radio support, patch by Vladimir Voroshilov (voroshil gmail com)
reimar
parents: 19563
diff changeset
69 {NULL, NULL, 0, 0, 0, 0, NULL}
bd821fd3e244 Radio support, patch by Vladimir Voroshilov (voroshil gmail com)
reimar
parents: 19563
diff changeset
70 };
27341
e7c989f7a7c9 Start unifying names of internal preprocessor directives.
diego
parents: 27061
diff changeset
71 #endif /* CONFIG_RADIO */
19568
bd821fd3e244 Radio support, patch by Vladimir Voroshilov (voroshil gmail com)
reimar
parents: 19563
diff changeset
72
27341
e7c989f7a7c9 Start unifying names of internal preprocessor directives.
diego
parents: 27061
diff changeset
73 #ifdef CONFIG_TV
25233
7c82d9df9c38 Make the main m_option_t arrays const
reimar
parents: 25231
diff changeset
74 const m_option_t tvopts_conf[]={
31077
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
75 {"on", "-tv on has been removed, use tv:// instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
76 {"immediatemode", &stream_tv_defaults.immediate, CONF_TYPE_INT, CONF_RANGE, 0, 1, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
77 {"noaudio", &stream_tv_defaults.noaudio, CONF_TYPE_FLAG, 0, 0, 1, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
78 {"audiorate", &stream_tv_defaults.audiorate, CONF_TYPE_INT, 0, 0, 0, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
79 {"driver", &stream_tv_defaults.driver, CONF_TYPE_STRING, 0, 0, 0, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
80 {"device", &stream_tv_defaults.device, CONF_TYPE_STRING, 0, 0, 0, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
81 {"freq", &stream_tv_defaults.freq, CONF_TYPE_STRING, 0, 0, 0, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
82 {"channel", &stream_tv_defaults.channel, CONF_TYPE_STRING, 0, 0, 0, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
83 {"chanlist", &stream_tv_defaults.chanlist, CONF_TYPE_STRING, 0, 0, 0, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
84 {"norm", &stream_tv_defaults.norm, CONF_TYPE_STRING, 0, 0, 0, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
85 {"automute", &stream_tv_defaults.automute, CONF_TYPE_INT, CONF_RANGE, 0, 255, NULL},
27370
14c5017f40d2 Change a bunch of video/audio-output-specific preprocessor directives from
diego
parents: 27341
diff changeset
86 #if defined(CONFIG_TV_V4L2) || defined(CONFIG_TV_DSHOW)
31077
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
87 {"normid", &stream_tv_defaults.normid, CONF_TYPE_INT, 0, 0, 0, NULL},
10537
31f12f99118b v4l2 support
henry
parents: 10485
diff changeset
88 #endif
31077
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
89 {"width", &stream_tv_defaults.width, CONF_TYPE_INT, 0, 0, 4096, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
90 {"height", &stream_tv_defaults.height, CONF_TYPE_INT, 0, 0, 4096, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
91 {"input", &stream_tv_defaults.input, CONF_TYPE_INT, 0, 0, 20, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
92 {"outfmt", &stream_tv_defaults.outfmt, CONF_TYPE_IMGFMT, 0, 0, 0, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
93 {"fps", &stream_tv_defaults.fps, CONF_TYPE_FLOAT, 0, 0, 100.0, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
94 {"channels", &stream_tv_defaults.channels, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
95 {"brightness", &stream_tv_defaults.brightness, CONF_TYPE_INT, CONF_RANGE, -100, 100, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
96 {"contrast", &stream_tv_defaults.contrast, CONF_TYPE_INT, CONF_RANGE, -100, 100, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
97 {"hue", &stream_tv_defaults.hue, CONF_TYPE_INT, CONF_RANGE, -100, 100, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
98 {"saturation", &stream_tv_defaults.saturation, CONF_TYPE_INT, CONF_RANGE, -100, 100, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
99 {"gain", &stream_tv_defaults.gain, CONF_TYPE_INT, CONF_RANGE, -1, 100, NULL},
27370
14c5017f40d2 Change a bunch of video/audio-output-specific preprocessor directives from
diego
parents: 27341
diff changeset
100 #if defined(CONFIG_TV_V4L) || defined(CONFIG_TV_V4L2) || defined(CONFIG_TV_DSHOW)
31077
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
101 {"buffersize", &stream_tv_defaults.buffer_size, CONF_TYPE_INT, CONF_RANGE, 16, 1024, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
102 {"amode", &stream_tv_defaults.amode, CONF_TYPE_INT, CONF_RANGE, 0, 3, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
103 {"volume", &stream_tv_defaults.volume, CONF_TYPE_INT, CONF_RANGE, 0, 65535, NULL},
24744
d81eef9beb1b DirectShow based tv:// driver for win32
voroshil
parents: 24564
diff changeset
104 #endif
27370
14c5017f40d2 Change a bunch of video/audio-output-specific preprocessor directives from
diego
parents: 27341
diff changeset
105 #if defined(CONFIG_TV_V4L) || defined(CONFIG_TV_V4L2)
31077
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
106 {"bass", &stream_tv_defaults.bass, CONF_TYPE_INT, CONF_RANGE, 0, 65535, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
107 {"treble", &stream_tv_defaults.treble, CONF_TYPE_INT, CONF_RANGE, 0, 65535, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
108 {"balance", &stream_tv_defaults.balance, CONF_TYPE_INT, CONF_RANGE, 0, 65535, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
109 {"forcechan", &stream_tv_defaults.forcechan, CONF_TYPE_INT, CONF_RANGE, 1, 2, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
110 {"forceaudio", &stream_tv_defaults.force_audio, CONF_TYPE_FLAG, 0, 0, 1, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
111 {"buffersize", &stream_tv_defaults.buffer_size, CONF_TYPE_INT, CONF_RANGE, 16, 1024, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
112 {"mjpeg", &stream_tv_defaults.mjpeg, CONF_TYPE_FLAG, 0, 0, 1, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
113 {"decimation", &stream_tv_defaults.decimation, CONF_TYPE_INT, CONF_RANGE, 1, 4, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
114 {"quality", &stream_tv_defaults.quality, CONF_TYPE_INT, CONF_RANGE, 0, 100, NULL},
27390
9d95dc936e66 Introduce CONFIG_ALSA preprocessor directive for ALSA 0.9 and 1.x.
diego
parents: 27387
diff changeset
115 #ifdef CONFIG_ALSA
31077
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
116 {"alsa", &stream_tv_defaults.alsa, CONF_TYPE_FLAG, 0, 0, 1, NULL},
27390
9d95dc936e66 Introduce CONFIG_ALSA preprocessor directive for ALSA 0.9 and 1.x.
diego
parents: 27387
diff changeset
117 #endif /* CONFIG_ALSA */
27370
14c5017f40d2 Change a bunch of video/audio-output-specific preprocessor directives from
diego
parents: 27341
diff changeset
118 #endif /* defined(CONFIG_TV_V4L) || defined(CONFIG_TV_V4L2) */
31077
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
119 {"adevice", &stream_tv_defaults.adevice, CONF_TYPE_STRING, 0, 0, 0, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
120 {"tdevice", &stream_tv_defaults.teletext.device, CONF_TYPE_STRING, 0, 0, 0, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
121 {"tpage", &stream_tv_defaults.teletext.page, CONF_TYPE_INT, CONF_RANGE, 100, 899, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
122 {"tformat", &stream_tv_defaults.teletext.format, CONF_TYPE_INT, CONF_RANGE, 0, 3, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
123 {"tlang", &stream_tv_defaults.teletext.lang, CONF_TYPE_INT, CONF_RANGE, -1, 0x7f, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
124 {"audioid", &stream_tv_defaults.audio_id, CONF_TYPE_INT, CONF_RANGE, 0, 9, NULL},
27370
14c5017f40d2 Change a bunch of video/audio-output-specific preprocessor directives from
diego
parents: 27341
diff changeset
125 #ifdef CONFIG_TV_DSHOW
31077
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
126 {"hidden_video_renderer", &stream_tv_defaults.hidden_video_renderer, CONF_TYPE_FLAG, 0, 0, 1, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
127 {"nohidden_video_renderer", &stream_tv_defaults.hidden_video_renderer, CONF_TYPE_FLAG, 0, 0, 0, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
128 {"hidden_vp_renderer", &stream_tv_defaults.hidden_vp_renderer, CONF_TYPE_FLAG, 0, 0, 1, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
129 {"nohidden_vp_renderer", &stream_tv_defaults.hidden_vp_renderer, CONF_TYPE_FLAG, 0, 0, 0, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
130 {"system_clock", &stream_tv_defaults.system_clock, CONF_TYPE_FLAG, 0, 0, 1, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
131 {"nosystem_clock", &stream_tv_defaults.system_clock, CONF_TYPE_FLAG, 0, 0, 0, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
132 {"normalize_audio_chunks", &stream_tv_defaults.normalize_audio_chunks, CONF_TYPE_FLAG, 0, 0, 1, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
133 {"nonormalize_audio_chunks", &stream_tv_defaults.normalize_audio_chunks, CONF_TYPE_FLAG, 0, 0, 0, NULL},
24744
d81eef9beb1b DirectShow based tv:// driver for win32
voroshil
parents: 24564
diff changeset
134 #endif
31077
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
135 {NULL, NULL, 0, 0, 0, 0, NULL}
2790
98769cea155c added tv subsystem
alex
parents: 2643
diff changeset
136 };
27341
e7c989f7a7c9 Start unifying names of internal preprocessor directives.
diego
parents: 27061
diff changeset
137 #endif /* CONFIG_TV */
2790
98769cea155c added tv subsystem
alex
parents: 2643
diff changeset
138
27426
89812cdbc1b8 Remove pointless #ifdefs around extern declarations.
diego
parents: 27425
diff changeset
139 #ifdef CONFIG_PVR
25233
7c82d9df9c38 Make the main m_option_t arrays const
reimar
parents: 25231
diff changeset
140 const m_option_t pvropts_conf[]={
31077
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
141 {"aspect", &pvr_param_aspect_ratio, CONF_TYPE_INT, 0, 1, 4, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
142 {"arate", &pvr_param_sample_rate, CONF_TYPE_INT, 0, 32000, 48000, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
143 {"alayer", &pvr_param_audio_layer, CONF_TYPE_INT, 0, 1, 2, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
144 {"abitrate", &pvr_param_audio_bitrate, CONF_TYPE_INT, 0, 32, 448, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
145 {"amode", &pvr_param_audio_mode, CONF_TYPE_STRING, 0, 0, 0, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
146 {"vbitrate", &pvr_param_bitrate, CONF_TYPE_INT, 0, 0, 0, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
147 {"vmode", &pvr_param_bitrate_mode, CONF_TYPE_STRING, 0, 0, 0, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
148 {"vpeak", &pvr_param_bitrate_peak, CONF_TYPE_INT, 0, 0, 0, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
149 {"fmt", &pvr_param_stream_type, CONF_TYPE_STRING, 0, 0, 0, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
150 {NULL, NULL, 0, 0, 0, 0, NULL}
18997
73b8f5ff772d added new pvr:// input for ivtv based cards
ben
parents: 18937
diff changeset
151 };
27370
14c5017f40d2 Change a bunch of video/audio-output-specific preprocessor directives from
diego
parents: 27341
diff changeset
152 #endif /* CONFIG_PVR */
18997
73b8f5ff772d added new pvr:// input for ivtv based cards
ben
parents: 18937
diff changeset
153
25233
7c82d9df9c38 Make the main m_option_t arrays const
reimar
parents: 25231
diff changeset
154 const m_option_t scaler_filter_conf[]={
31077
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
155 {"lgb", &sws_lum_gblur, CONF_TYPE_FLOAT, 0, 0, 100.0, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
156 {"cgb", &sws_chr_gblur, CONF_TYPE_FLOAT, 0, 0, 100.0, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
157 {"cvs", &sws_chr_vshift, CONF_TYPE_INT, 0, 0, 0, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
158 {"chs", &sws_chr_hshift, CONF_TYPE_INT, 0, 0, 0, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
159 {"ls", &sws_lum_sharpen, CONF_TYPE_FLOAT, 0, -100.0, 100.0, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
160 {"cs", &sws_chr_sharpen, CONF_TYPE_FLOAT, 0, -100.0, 100.0, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
161 {NULL, NULL, 0, 0, 0, 0, NULL}
4294
21dbbbbd5479 a few filters (should be removed/merged when arpis videofilter stuff is finished)
michael
parents: 4291
diff changeset
162 };
21dbbbbd5479 a few filters (should be removed/merged when arpis videofilter stuff is finished)
michael
parents: 4291
diff changeset
163
25233
7c82d9df9c38 Make the main m_option_t arrays const
reimar
parents: 25231
diff changeset
164 const m_option_t vivoopts_conf[]={
31077
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
165 {"version", &vivo_param_version, CONF_TYPE_INT, 0, 0, 0, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
166 /* audio options */
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
167 {"acodec", &vivo_param_acodec, CONF_TYPE_STRING, 0, 0, 0, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
168 {"abitrate", &vivo_param_abitrate, CONF_TYPE_INT, 0, 0, 0, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
169 {"samplerate", &vivo_param_samplerate, CONF_TYPE_INT, 0, 0, 0, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
170 {"bytesperblock", &vivo_param_bytesperblock, CONF_TYPE_INT, 0, 0, 0, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
171 /* video options */
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
172 {"width", &vivo_param_width, CONF_TYPE_INT, 0, 0, 0, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
173 {"height", &vivo_param_height, CONF_TYPE_INT, 0, 0, 0, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
174 {"vformat", &vivo_param_vformat, CONF_TYPE_INT, 0, 0, 0, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
175 {NULL, NULL, 0, 0, 0, 0, NULL}
3502
1ff0ff94ac91 added -vivo subconfig
alex
parents: 3460
diff changeset
176 };
1ff0ff94ac91 added -vivo subconfig
alex
parents: 3460
diff changeset
177
25233
7c82d9df9c38 Make the main m_option_t arrays const
reimar
parents: 25231
diff changeset
178 const m_option_t mfopts_conf[]={
31077
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
179 {"on", "-mf on has been removed, use mf:// instead.\n", CONF_TYPE_PRINT, 0, 0, 1, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
180 {"w", &mf_w, CONF_TYPE_INT, 0, 0, 0, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
181 {"h", &mf_h, CONF_TYPE_INT, 0, 0, 0, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
182 {"fps", &mf_fps, CONF_TYPE_DOUBLE, 0, 0, 0, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
183 {"type", &mf_type, CONF_TYPE_STRING, 0, 0, 0, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
184 {NULL, NULL, 0, 0, 0, 0, NULL}
4551
716b00618bfc add mfi support
pontscho
parents: 4355
diff changeset
185 };
5507
d0d029fda134 video filter layer - written from scratch, but inspired a lot by Fredrik Kuivinen's patch
arpi
parents: 5475
diff changeset
186
9349
7422a4240659 1000l (af moved to common)
arpi
parents: 9126
diff changeset
187 #include "libaf/af.h"
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 28485
diff changeset
188 const m_option_t audio_filter_conf[]={
31077
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
189 {"list", &af_cfg.list, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
190 {"force", &af_cfg.force, CONF_TYPE_INT, CONF_RANGE, 0, 7, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
191 {NULL, NULL, 0, 0, 0, 0, NULL}
9349
7422a4240659 1000l (af moved to common)
arpi
parents: 9126
diff changeset
192 };
7422a4240659 1000l (af moved to common)
arpi
parents: 9126
diff changeset
193
25233
7c82d9df9c38 Make the main m_option_t arrays const
reimar
parents: 25231
diff changeset
194 const m_option_t msgl_config[]={
31077
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
195 { "all", &mp_msg_level_all, CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL},
17106
05af35012e4f new -msglevel option, constrols msg level for every msg module
ods15
parents: 16175
diff changeset
196
31077
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
197 { "global", &mp_msg_levels[MSGT_GLOBAL], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
198 { "cplayer", &mp_msg_levels[MSGT_CPLAYER], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
199 { "gplayer", &mp_msg_levels[MSGT_GPLAYER], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
200 { "vo", &mp_msg_levels[MSGT_VO], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
201 { "ao", &mp_msg_levels[MSGT_AO], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
202 { "demuxer", &mp_msg_levels[MSGT_DEMUXER], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
203 { "ds", &mp_msg_levels[MSGT_DS], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
204 { "demux", &mp_msg_levels[MSGT_DEMUX], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
205 { "header", &mp_msg_levels[MSGT_HEADER], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
206 { "avsync", &mp_msg_levels[MSGT_AVSYNC], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
207 { "autoq", &mp_msg_levels[MSGT_AUTOQ], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
208 { "cfgparser", &mp_msg_levels[MSGT_CFGPARSER], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
209 { "decaudio", &mp_msg_levels[MSGT_DECAUDIO], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
210 { "decvideo", &mp_msg_levels[MSGT_DECVIDEO], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
211 { "seek", &mp_msg_levels[MSGT_SEEK], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
212 { "win32", &mp_msg_levels[MSGT_WIN32], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
213 { "open", &mp_msg_levels[MSGT_OPEN], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
214 { "dvd", &mp_msg_levels[MSGT_DVD], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
215 { "parsees", &mp_msg_levels[MSGT_PARSEES], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
216 { "lirc", &mp_msg_levels[MSGT_LIRC], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
217 { "stream", &mp_msg_levels[MSGT_STREAM], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
218 { "cache", &mp_msg_levels[MSGT_CACHE], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
219 { "mencoder", &mp_msg_levels[MSGT_MENCODER], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
220 { "xacodec", &mp_msg_levels[MSGT_XACODEC], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
221 { "tv", &mp_msg_levels[MSGT_TV], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
222 { "radio", &mp_msg_levels[MSGT_RADIO], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
223 { "osdep", &mp_msg_levels[MSGT_OSDEP], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
224 { "spudec", &mp_msg_levels[MSGT_SPUDEC], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
225 { "playtree", &mp_msg_levels[MSGT_PLAYTREE], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
226 { "input", &mp_msg_levels[MSGT_INPUT], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
227 { "vfilter", &mp_msg_levels[MSGT_VFILTER], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
228 { "osd", &mp_msg_levels[MSGT_OSD], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
229 { "network", &mp_msg_levels[MSGT_NETWORK], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
230 { "cpudetect", &mp_msg_levels[MSGT_CPUDETECT], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
231 { "codeccfg", &mp_msg_levels[MSGT_CODECCFG], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
232 { "sws", &mp_msg_levels[MSGT_SWS], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
233 { "vobsub", &mp_msg_levels[MSGT_VOBSUB], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
234 { "subreader", &mp_msg_levels[MSGT_SUBREADER], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
235 { "afilter", &mp_msg_levels[MSGT_AFILTER], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
236 { "netst", &mp_msg_levels[MSGT_NETST], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
237 { "muxer", &mp_msg_levels[MSGT_MUXER], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
238 { "osd-menu", &mp_msg_levels[MSGT_OSD_MENU], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
239 { "identify", &mp_msg_levels[MSGT_IDENTIFY], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
240 { "ass", &mp_msg_levels[MSGT_ASS], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
241 { "statusline", &mp_msg_levels[MSGT_STATUSLINE], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
31808
7b6e0890b6a9 Also allow setting msglevel for MSGT_FIXME.
reimar
parents: 31683
diff changeset
242 { "fixme", &mp_msg_levels[MSGT_FIXME], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
31077
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
243 {"help", "Available msg modules:\n"
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
244 " global - common player errors/information\n"
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
245 " cplayer - console player (mplayer.c)\n"
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
246 " gplayer - gui player\n"
31158
e1db21f14dd2 cosmetics: vertical alignment in msg module help output
diego
parents: 31077
diff changeset
247 " vo - libvo\n"
e1db21f14dd2 cosmetics: vertical alignment in msg module help output
diego
parents: 31077
diff changeset
248 " ao - libao\n"
31077
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
249 " demuxer - demuxer.c (general stuff)\n"
31158
e1db21f14dd2 cosmetics: vertical alignment in msg module help output
diego
parents: 31077
diff changeset
250 " ds - demux stream (add/read packet etc)\n"
31077
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
251 " demux - fileformat-specific stuff (demux_*.c)\n"
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
252 " header - fileformat-specific header (*header.c)\n"
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
253 " avsync - mplayer.c timer stuff\n"
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
254 " autoq - mplayer.c auto-quality stuff\n"
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
255 " cfgparser - cfgparser.c\n"
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
256 " decaudio - av decoder\n"
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
257 " decvideo\n"
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
258 " seek - seeking code\n"
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
259 " win32 - win32 dll stuff\n"
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
260 " open - open.c (stream opening)\n"
31158
e1db21f14dd2 cosmetics: vertical alignment in msg module help output
diego
parents: 31077
diff changeset
261 " dvd - open.c (DVD init/read/seek)\n"
31077
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
262 " parsees - parse_es.c (mpeg stream parser)\n"
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
263 " lirc - lirc_mp.c and input lirc driver\n"
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
264 " stream - stream.c\n"
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
265 " cache - cache2.c\n"
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
266 " mencoder\n"
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
267 " xacodec - XAnim codecs\n"
31158
e1db21f14dd2 cosmetics: vertical alignment in msg module help output
diego
parents: 31077
diff changeset
268 " tv - TV input subsystem\n"
31077
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
269 " osdep - OS-dependent parts\n"
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
270 " spudec - spudec.c\n"
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
271 " playtree - Playtree handling (playtree.c, playtreeparser.c)\n"
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
272 " input\n"
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
273 " vfilter\n"
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
274 " osd\n"
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
275 " network\n"
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
276 " cpudetect\n"
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
277 " codeccfg\n"
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
278 " sws\n"
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
279 " vobsub\n"
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
280 " subreader\n"
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
281 " osd-menu - OSD menu messages\n"
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
282 " afilter - Audio filter messages\n"
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
283 " netst - Netstream\n"
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
284 " muxer - muxer layer\n"
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
285 " identify - identify output\n"
31184
a012168a8ec6 cosmetics: vertical alignment in msg module help output.
diego
parents: 31158
diff changeset
286 " ass - libass messages\n"
31077
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
287 " statusline - playback/encoding status line\n"
31808
7b6e0890b6a9 Also allow setting msglevel for MSGT_FIXME.
reimar
parents: 31683
diff changeset
288 " fixme - messages not yet fixed to map to module\n"
31077
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
289 "\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
dd7f15a3fb1b the great MPlayer tab removal: part II
diego
parents: 30653
diff changeset
290 {NULL, NULL, 0, 0, 0, 0, NULL}
18582
e3939d5e50e1 Adds missing NULL last entry to msgl_config
iive
parents: 18312
diff changeset
291
17106
05af35012e4f new -msglevel option, constrols msg level for every msg module
ods15
parents: 16175
diff changeset
292 };
05af35012e4f new -msglevel option, constrols msg level for every msg module
ods15
parents: 16175
diff changeset
293
31368
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
294 const m_option_t common_opts[] = {
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
295 // ------------------------- common options --------------------
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
296 {"quiet", &quiet, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
297 {"noquiet", &quiet, CONF_TYPE_FLAG, CONF_GLOBAL, 1, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
298 {"really-quiet", &verbose, CONF_TYPE_FLAG, CONF_GLOBAL|CONF_PRE_PARSE, 0, -10, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
299 {"v", cfg_inc_verbose, CONF_TYPE_FUNC, CONF_GLOBAL|CONF_NOSAVE, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
300 {"msglevel", msgl_config, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
301 {"msgcolor", &mp_msg_color, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
302 {"nomsgcolor", &mp_msg_color, CONF_TYPE_FLAG, CONF_GLOBAL, 1, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
303 {"msgmodule", &mp_msg_module, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
304 {"nomsgmodule", &mp_msg_module, CONF_TYPE_FLAG, CONF_GLOBAL, 1, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
305 #ifdef CONFIG_ICONV
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
306 {"msgcharset", &mp_msg_charset, CONF_TYPE_STRING, CONF_GLOBAL, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
307 #endif
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
308 {"include", cfg_include, CONF_TYPE_FUNC_PARAM, CONF_NOSAVE, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
309 #ifdef CONFIG_PRIORITY
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
310 {"priority", &proc_priority, CONF_TYPE_STRING, 0, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
311 #endif
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
312 {"codecpath", &codec_path, CONF_TYPE_STRING, 0, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
313 {"noconfig", noconfig_opts, CONF_TYPE_SUBCONFIG, CONF_GLOBAL|CONF_NOCFG|CONF_PRE_PARSE, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
314
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
315 // ------------------------- stream options --------------------
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
316
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
317 #ifdef CONFIG_STREAM_CACHE
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
318 {"cache", &stream_cache_size, CONF_TYPE_INT, CONF_RANGE, 32, 1048576, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
319 {"nocache", &stream_cache_size, CONF_TYPE_FLAG, 0, 1, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
320 {"cache-min", &stream_cache_min_percent, CONF_TYPE_FLOAT, CONF_RANGE, 0, 99, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
321 {"cache-seek-min", &stream_cache_seek_min_percent, CONF_TYPE_FLOAT, CONF_RANGE, 0, 99, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
322 #else
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
323 {"cache", "MPlayer was compiled without cache2 support.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
324 #endif /* CONFIG_STREAM_CACHE */
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
325 {"vcd", "-vcd N has been removed, use vcd://N instead.\n", CONF_TYPE_PRINT, CONF_NOCFG ,0,0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
326 {"cuefile", "-cuefile has been removed, use cue://filename:N where N is the track number.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
327 {"cdrom-device", &cdrom_device, CONF_TYPE_STRING, 0, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
328 #ifdef CONFIG_DVDREAD
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
329 {"dvd-device", &dvd_device, CONF_TYPE_STRING, 0, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
330 {"dvd-speed", &dvd_speed, CONF_TYPE_INT, 0, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
331 {"dvd", "-dvd N has been removed, use dvd://N instead.\n" , CONF_TYPE_PRINT, 0, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
332 {"dvdangle", &dvd_angle, CONF_TYPE_INT, CONF_RANGE, 1, 99, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
333 {"chapter", dvd_parse_chapter_range, CONF_TYPE_FUNC_PARAM, 0, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
334 #else
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
335 {"dvd-device", "MPlayer was compiled without libdvdread support.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
336 {"dvd-speed", "MPlayer was compiled without libdvdread support.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
337 {"dvd", "MPlayer was compiled without libdvdread support.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
338 #endif /* CONFIG_DVDREAD */
32326
4189a8951568 Use bluray_device variable also for bd:// instead of dvd_device
reimar
parents: 32142
diff changeset
339 {"bluray-device", &bluray_device, CONF_TYPE_STRING, 0, 0, 0, NULL},
31565
9a590e7aac57 Support for unencrypted Blu-ray playback through libbluray.
ben
parents: 31525
diff changeset
340 #ifdef CONFIG_LIBBLURAY
9a590e7aac57 Support for unencrypted Blu-ray playback through libbluray.
ben
parents: 31525
diff changeset
341 {"bluray-angle", &bluray_angle, CONF_TYPE_INT, CONF_RANGE, 0, 999, NULL},
9a590e7aac57 Support for unencrypted Blu-ray playback through libbluray.
ben
parents: 31525
diff changeset
342 {"bluray-chapter", &bluray_chapter, CONF_TYPE_INT, CONF_RANGE, 0, 999, NULL},
9a590e7aac57 Support for unencrypted Blu-ray playback through libbluray.
ben
parents: 31525
diff changeset
343 #else
9a590e7aac57 Support for unencrypted Blu-ray playback through libbluray.
ben
parents: 31525
diff changeset
344 {"bluray-angle", "MPlayer was compiled without libbluray support.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
9a590e7aac57 Support for unencrypted Blu-ray playback through libbluray.
ben
parents: 31525
diff changeset
345 {"bluray-chapter", "MPlayer was compiled without libbluray support.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
9a590e7aac57 Support for unencrypted Blu-ray playback through libbluray.
ben
parents: 31525
diff changeset
346 #endif /* CONFIG_LIBBLURAY */
31368
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
347 {"alang", &audio_lang, CONF_TYPE_STRING, 0, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
348 {"slang", &dvdsub_lang, CONF_TYPE_STRING, 0, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
349
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
350 {"dvdauth", "libcss is obsolete. Try libdvdread instead.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
351 {"dvdkey", "libcss is obsolete. Try libdvdread instead.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
352 {"csslib", "libcss is obsolete. Try libdvdread instead.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
353
31683
db0b49579eeb Rename network build system variable and command line option to networking.
diego
parents: 31565
diff changeset
354 #ifdef CONFIG_NETWORKING
31368
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
355 {"user", &network_username, CONF_TYPE_STRING, 0, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
356 {"passwd", &network_password, CONF_TYPE_STRING, 0, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
357 {"bandwidth", &network_bandwidth, CONF_TYPE_INT, CONF_MIN, 0, 0, NULL},
32995
80e4a267f6b8 Allow setting custom http header.
cehoyos
parents: 32773
diff changeset
358 {"http-header-fields", &network_http_header_fields, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL},
31368
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
359 {"user-agent", &network_useragent, CONF_TYPE_STRING, 0, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
360 {"referrer", &network_referrer, CONF_TYPE_STRING, 0, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
361 {"cookies", &network_cookies_enabled, CONF_TYPE_FLAG, 0, 0, 1, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
362 {"nocookies", &network_cookies_enabled, CONF_TYPE_FLAG, 0, 1, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
363 {"cookies-file", &cookies_file, CONF_TYPE_STRING, 0, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
364 {"prefer-ipv4", &network_prefer_ipv4, CONF_TYPE_FLAG, 0, 0, 1, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
365 {"ipv4-only-proxy", &network_ipv4_only_proxy, CONF_TYPE_FLAG, 0, 0, 1, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
366 {"reuse-socket", &reuse_socket, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
367 {"noreuse-socket", &reuse_socket, CONF_TYPE_FLAG, CONF_GLOBAL, 1, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
368 #ifdef HAVE_AF_INET6
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
369 {"prefer-ipv6", &network_prefer_ipv4, CONF_TYPE_FLAG, 0, 1, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
370 #else
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
371 {"prefer-ipv6", "MPlayer was compiled without IPv6 support.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
372 #endif /* HAVE_AF_INET6 */
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
373
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
374 #else
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
375 {"user", "MPlayer was compiled without streaming (network) support.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
376 {"passwd", "MPlayer was compiled without streaming (network) support.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
377 {"bandwidth", "MPlayer was compiled without streaming (network) support.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
378 {"user-agent", "MPlayer was compiled without streaming (network) support.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
31683
db0b49579eeb Rename network build system variable and command line option to networking.
diego
parents: 31565
diff changeset
379 #endif /* CONFIG_NETWORKING */
31368
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
380
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
381 #ifdef CONFIG_LIVE555
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
382 {"sdp", "-sdp has been removed, use sdp://file instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
383 {"rtsp-stream-over-http", &rtsp_transport_http, CONF_TYPE_FLAG, 0, 0, 1, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
384 #else
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
385 {"rtsp-stream-over-http", "-rtsp-stream-over-http requires the \"LIVE555 Streaming Media\" library.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
386 #endif /* CONFIG_LIVE555 */
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
387 #if defined(CONFIG_LIBNEMESI) || defined(CONFIG_LIVE555)
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
388 // -rtsp-stream-over-tcp option, specifying TCP streaming of RTP/RTCP
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
389 {"rtsp-stream-over-tcp", &rtsp_transport_tcp, CONF_TYPE_FLAG, 0, 0, 1, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
390 #else
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
391 {"rtsp-stream-over-tcp", "-rtsp-stream-over-tcp requires the \"LIVE555 Streaming Media\" or \"libnemesi\" libraries.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
392 #endif /* defined(CONFIG_LIBNEMESI) || defined(CONFIG_LIVE555) */
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
393 #ifdef CONFIG_LIBNEMESI
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
394 {"rtsp-stream-over-sctp", &rtsp_transport_sctp, CONF_TYPE_FLAG, 0, 0, 1, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
395 #else
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
396 {"rtsp-stream-over-sctp", "-rtsp-stream-over-sctp requires the \"libnemesi\" library\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
397 #endif /* CONFIG_LIBNEMESI */
31683
db0b49579eeb Rename network build system variable and command line option to networking.
diego
parents: 31565
diff changeset
398 #ifdef CONFIG_NETWORKING
31368
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
399 {"rtsp-port", &rtsp_port, CONF_TYPE_INT, CONF_RANGE, -1, 65535, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
400 {"rtsp-destination", &rtsp_destination, CONF_TYPE_STRING, CONF_MIN, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
401 #else
31683
db0b49579eeb Rename network build system variable and command line option to networking.
diego
parents: 31565
diff changeset
402 {"rtsp-port", "MPlayer was compiled without networking support.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
db0b49579eeb Rename network build system variable and command line option to networking.
diego
parents: 31565
diff changeset
403 {"rtsp-destination", "MPlayer was compiled without networking support.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
db0b49579eeb Rename network build system variable and command line option to networking.
diego
parents: 31565
diff changeset
404 #endif /* CONFIG_NETWORKING */
31368
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
405
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
406 // ------------------------- demuxer options --------------------
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
407
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
408 // number of frames to play/convert
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
409 {"frames", &play_n_frames_mf, CONF_TYPE_INT, CONF_MIN, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
410
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
411 // seek to byte/seconds position
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
412 {"sb", &seek_to_byte, CONF_TYPE_POSITION, CONF_MIN, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
413 {"ss", &seek_to_sec, CONF_TYPE_TIME, 0, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
414
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
415 // stop at given position
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
416 {"endpos", &end_at, CONF_TYPE_TIME_SIZE, 0, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
417
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
418 {"edl", &edl_filename, CONF_TYPE_STRING, 0, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
419
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
420 // AVI specific: force non-interleaved mode
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
421 {"ni", &force_ni, CONF_TYPE_FLAG, 0, 0, 1, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
422 {"noni", &force_ni, CONF_TYPE_FLAG, 0, 1, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
423
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
424 // AVI and Ogg only: (re)build index at startup
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
425 {"noidx", &index_mode, CONF_TYPE_FLAG, 0, -1, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
426 {"idx", &index_mode, CONF_TYPE_FLAG, 0, -1, 1, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
427 {"forceidx", &index_mode, CONF_TYPE_FLAG, 0, -1, 2, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
428 {"saveidx", &index_file_save, CONF_TYPE_STRING, 0, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
429 {"loadidx", &index_file_load, CONF_TYPE_STRING, 0, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
430
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
431 // select audio/video/subtitle stream
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
432 {"aid", &audio_id, CONF_TYPE_INT, CONF_RANGE, -2, 8190, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
433 {"ausid", &audio_substream_id, CONF_TYPE_INT, 0, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
434 {"vid", &video_id, CONF_TYPE_INT, CONF_RANGE, -2, 8190, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
435 {"sid", &dvdsub_id, CONF_TYPE_INT, CONF_RANGE, -2, 8190, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
436 {"nosub", &dvdsub_id, CONF_TYPE_FLAG, 0, -1, -2, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
437 {"novideo", &video_id, CONF_TYPE_FLAG, 0, -1, -2, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
438
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
439 { "hr-mp3-seek", &hr_mp3_seek, CONF_TYPE_FLAG, 0, 0, 1, NULL },
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
440 { "nohr-mp3-seek", &hr_mp3_seek, CONF_TYPE_FLAG, 0, 1, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
441
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
442 { "rawaudio", &demux_rawaudio_opts, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
443 { "rawvideo", &demux_rawvideo_opts, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
444
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
445 #ifdef CONFIG_CDDA
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
446 { "cdda", &cdda_opts, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
447 #endif
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
448
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
449 // demuxer.c - select audio/sub file/demuxer
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
450 { "audiofile", &audio_stream, CONF_TYPE_STRING, 0, 0, 0, NULL },
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
451 { "audiofile-cache", &audio_stream_cache, CONF_TYPE_INT, CONF_RANGE, 50, 65536, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
452 { "subfile", &sub_stream, CONF_TYPE_STRING, 0, 0, 0, NULL },
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
453 { "demuxer", &demuxer_name, CONF_TYPE_STRING, 0, 0, 0, NULL },
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
454 { "audio-demuxer", &audio_demuxer_name, CONF_TYPE_STRING, 0, 0, 0, NULL },
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
455 { "sub-demuxer", &sub_demuxer_name, CONF_TYPE_STRING, 0, 0, 0, NULL },
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
456 { "extbased", &extension_parsing, CONF_TYPE_FLAG, 0, 0, 1, NULL },
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
457 { "noextbased", &extension_parsing, CONF_TYPE_FLAG, 0, 1, 0, NULL },
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
458
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
459 {"mf", mfopts_conf, CONF_TYPE_SUBCONFIG, 0,0,0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
460 #ifdef CONFIG_RADIO
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
461 {"radio", radioopts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
462 #else
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
463 {"radio", "MPlayer was compiled without Radio interface support.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
464 #endif /* CONFIG_RADIO */
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
465 #ifdef CONFIG_TV
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
466 {"tv", tvopts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
467 #else
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
468 {"tv", "MPlayer was compiled without TV interface support.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
469 #endif /* CONFIG_TV */
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
470 #ifdef CONFIG_PVR
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
471 {"pvr", pvropts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
472 #else
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
473 {"pvr", "MPlayer was compiled without V4L2/PVR interface support.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
474 #endif /* CONFIG_PVR */
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
475 {"vivo", vivoopts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
476 #ifdef CONFIG_DVBIN
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
477 {"dvbin", dvbin_opts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
478 #endif
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
479
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
480 // ------------------------- a-v sync options --------------------
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
481
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
482 // AVI specific: A-V sync mode (bps vs. interleaving)
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
483 {"bps", &pts_from_bps, CONF_TYPE_FLAG, 0, 0, 1, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
484 {"nobps", &pts_from_bps, CONF_TYPE_FLAG, 0, 1, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
485
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
486 // set A-V sync correction speed (0=disables it):
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
487 {"mc", &default_max_pts_correction, CONF_TYPE_FLOAT, CONF_RANGE, 0, 100, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
488
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
489 // force video/audio rate:
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
490 {"fps", &force_fps, CONF_TYPE_DOUBLE, CONF_MIN, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
491 {"srate", &force_srate, CONF_TYPE_INT, CONF_RANGE, 1000, 8*48000, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
492 {"channels", &audio_output_channels, CONF_TYPE_INT, CONF_RANGE, 1, 8, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
493 {"format", &audio_output_format, CONF_TYPE_AFMT, 0, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
494 {"speed", &playback_speed, CONF_TYPE_FLOAT, CONF_RANGE, 0.01, 100.0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
495
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
496 // set a-v distance
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
497 {"delay", &audio_delay, CONF_TYPE_FLOAT, CONF_RANGE, -100.0, 100.0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
498
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
499 // ignore header-specified delay (dwStart)
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
500 {"ignore-start", &ignore_start, CONF_TYPE_FLAG, 0, 0, 1, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
501 {"noignore-start", &ignore_start, CONF_TYPE_FLAG, 0, 1, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
502
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
503 {"a52drc", &drc_level, CONF_TYPE_FLOAT, CONF_RANGE, 0, 2, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
504
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
505 // ------------------------- codec/vfilter options --------------------
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
506
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
507 // MP3-only: select stereo/left/right
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
508 #ifdef CONFIG_FAKE_MONO
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
509 {"stereo", &fakemono, CONF_TYPE_INT, CONF_RANGE, 0, 2, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
510 #endif
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
511
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
512 // disable audio
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
513 {"sound", &audio_id, CONF_TYPE_FLAG, 0, -2, -1, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
514 {"nosound", &audio_id, CONF_TYPE_FLAG, 0, -1, -2, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
515
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
516 {"af*", &af_cfg.list, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
517 {"af-adv", audio_filter_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
518
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
519 {"vop", "-vop has been removed, use -vf instead.\n", CONF_TYPE_PRINT, CONF_NOCFG ,0,0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
520 {"vf*", &vf_settings, CONF_TYPE_OBJ_SETTINGS_LIST, 0, 0, 0, &vf_obj_list},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
521 // select audio/video codec (by name) or codec family (by number):
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
522 {"afm", &audio_fm_list, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
523 {"vfm", &video_fm_list, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
524 {"ac", &audio_codec_list, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
525 {"vc", &video_codec_list, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
526
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
527 // postprocessing:
32142
4614728cab25 build system: Merge all FFmpeg library checks into a single FFmpeg check.
diego
parents: 31808
diff changeset
528 #ifdef CONFIG_FFMPEG
31368
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
529 {"pp", &divx_quality, CONF_TYPE_INT, 0, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
530 {"pphelp", &pp_help, CONF_TYPE_PRINT_INDIRECT, CONF_NOCFG, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
531 #endif
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
532
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
533 // scaling:
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
534 {"sws", &sws_flags, CONF_TYPE_INT, 0, 0, 2, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
535 {"ssf", scaler_filter_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
536 {"zoom", &softzoom, CONF_TYPE_FLAG, 0, 0, 1, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
537 {"nozoom", &softzoom, CONF_TYPE_FLAG, 0, 1, 0, NULL},
33600
8a4fd4d4f985 Allow a larger range for -aspect.
reimar
parents: 32995
diff changeset
538 {"aspect", &movie_aspect, CONF_TYPE_FLOAT, CONF_RANGE, 0.1, 10.0, NULL},
31368
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
539 {"noaspect", &movie_aspect, CONF_TYPE_FLAG, 0, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
540 {"xy", &screen_size_xy, CONF_TYPE_FLOAT, CONF_RANGE, 0.001, 4096, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
541
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
542 {"flip", &flip, CONF_TYPE_FLAG, 0, -1, 1, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
543 {"noflip", &flip, CONF_TYPE_FLAG, 0, -1, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
544 {"tsfastparse", "-tsfastparse is no longer a valid option.\n", CONF_TYPE_PRINT, CONF_NOCFG ,0,0, NULL
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
545 },
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
546 {"tsprog", &ts_prog, CONF_TYPE_INT, CONF_RANGE, 0, 65534, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
547 {"tsprobe", &ts_probe, CONF_TYPE_POSITION, 0, 0, TS_MAX_PROBE_SIZE, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
548 {"psprobe", &ps_probe, CONF_TYPE_POSITION, 0, 0, TS_MAX_PROBE_SIZE, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
549 {"tskeepbroken", &ts_keep_broken, CONF_TYPE_FLAG, 0, 0, 1, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
550
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
551 // draw by slices or whole frame (useful with libmpeg2/libavcodec)
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
552 {"slices", &vd_use_slices, CONF_TYPE_FLAG, 0, 0, 1, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
553 {"noslices", &vd_use_slices, CONF_TYPE_FLAG, 0, 1, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
554 {"field-dominance", &field_dominance, CONF_TYPE_INT, CONF_RANGE, -1, 1, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
555
32142
4614728cab25 build system: Merge all FFmpeg library checks into a single FFmpeg check.
diego
parents: 31808
diff changeset
556 #ifdef CONFIG_FFMPEG
31368
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
557 {"lavdopts", lavc_decode_opts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
558 {"lavfdopts", lavfdopts_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
559 #endif
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
560 #ifdef CONFIG_XVID4
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
561 {"xvidopts", xvid_dec_opts, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
562 #endif
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
563 {"codecs-file", &codecs_file, CONF_TYPE_STRING, 0, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
564 // ------------------------- subtitles options --------------------
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
565
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
566 {"sub", &sub_name, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL},
32773
06b75ec1b9c9 Add sub-paths option.
cboesch
parents: 32520
diff changeset
567 {"sub-paths", &sub_paths, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL},
31368
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
568 #ifdef CONFIG_FRIBIDI
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
569 {"fribidi-charset", &fribidi_charset, CONF_TYPE_STRING, 0, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
570 {"flip-hebrew", &flip_hebrew, CONF_TYPE_FLAG, 0, 0, 1, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
571 {"noflip-hebrew", &flip_hebrew, CONF_TYPE_FLAG, 0, 1, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
572 {"flip-hebrew-commas", &fribidi_flip_commas, CONF_TYPE_FLAG, 0, 1, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
573 {"noflip-hebrew-commas", &fribidi_flip_commas, CONF_TYPE_FLAG, 0, 0, 1, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
574 #else
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
575 {"fribidi-charset", "MPlayer was compiled without FriBiDi support.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
576 {"flip-hebrew", "MPlayer was compiled without FriBiDi support.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
577 {"noflip-hebrew", "MPlayer was compiled without FriBiDi support.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
578 {"flip-hebrew-commas", "MPlayer was compiled without FriBiDi support.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
579 {"noflip-hebrew-commas", "MPlayer was compiled without FriBiDi support.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
580 #endif /* CONFIG_FRIBIDI */
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
581 #ifdef CONFIG_ICONV
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
582 {"subcp", &sub_cp, CONF_TYPE_STRING, 0, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
583 #endif
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
584 {"subdelay", &sub_delay, CONF_TYPE_FLOAT, 0, 0.0, 10.0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
585 {"subfps", &sub_fps, CONF_TYPE_FLOAT, 0, 0.0, 10.0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
586 {"autosub", &sub_auto, CONF_TYPE_FLAG, 0, 0, 1, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
587 {"noautosub", &sub_auto, CONF_TYPE_FLAG, 0, 1, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
588 {"unicode", &sub_unicode, CONF_TYPE_FLAG, 0, 0, 1, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
589 {"nounicode", &sub_unicode, CONF_TYPE_FLAG, 0, 1, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
590 {"utf8", &sub_utf8, CONF_TYPE_FLAG, 0, 0, 1, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
591 {"noutf8", &sub_utf8, CONF_TYPE_FLAG, 0, 1, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
592 {"forcedsubsonly", &forced_subs_only, CONF_TYPE_FLAG, 0, 0, 1, NULL},
33701
09bdaa0c82b3 Make vobsub options available in mencoder, though with my test file
reimar
parents: 33600
diff changeset
593 {"vobsub", &vobsub_name, CONF_TYPE_STRING, 0, 0, 0, NULL},
09bdaa0c82b3 Make vobsub options available in mencoder, though with my test file
reimar
parents: 33600
diff changeset
594 {"vobsubid", &vobsub_id, CONF_TYPE_INT, CONF_RANGE, 0, 31, NULL},
09bdaa0c82b3 Make vobsub options available in mencoder, though with my test file
reimar
parents: 33600
diff changeset
595 #ifdef CONFIG_UNRAR_EXEC
09bdaa0c82b3 Make vobsub options available in mencoder, though with my test file
reimar
parents: 33600
diff changeset
596 {"unrarexec", &unrar_executable, CONF_TYPE_STRING, 0, 0, 0, NULL},
09bdaa0c82b3 Make vobsub options available in mencoder, though with my test file
reimar
parents: 33600
diff changeset
597 #endif
31368
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
598 // specify IFO file for VOBSUB subtitle
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
599 {"ifo", &spudec_ifo, CONF_TYPE_STRING, 0, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
600 // enable Closed Captioning display
32520
5e062dc4a04d Add code to allow selecting the Close Captioning channel.
reimar
parents: 32467
diff changeset
601 {"subcc", &subcc_enabled, CONF_TYPE_INT, CONF_RANGE, 0, 4, NULL},
31368
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
602 {"nosubcc", &subcc_enabled, CONF_TYPE_FLAG, 0, 1, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
603 {"overlapsub", &suboverlap_enabled, CONF_TYPE_FLAG, 0, 0, 2, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
604 {"nooverlapsub", &suboverlap_enabled, CONF_TYPE_FLAG, 0, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
605 {"sub-bg-color", &sub_bg_color, CONF_TYPE_INT, CONF_RANGE, 0, 255, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
606 {"sub-bg-alpha", &sub_bg_alpha, CONF_TYPE_INT, CONF_RANGE, 0, 255, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
607 {"sub-no-text-pp", &sub_no_text_pp, CONF_TYPE_FLAG, 0, 0, 1, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
608 {"sub-fuzziness", &sub_match_fuzziness, CONF_TYPE_INT, CONF_RANGE, 0, 2, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
609 {"font", &font_name, CONF_TYPE_STRING, 0, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
610 {"subfont", &sub_font_name, CONF_TYPE_STRING, 0, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
611 {"ffactor", &font_factor, CONF_TYPE_FLOAT, CONF_RANGE, 0.0, 10.0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
612 {"subpos", &sub_pos, CONF_TYPE_INT, CONF_RANGE, 0, 100, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
613 {"subalign", &sub_alignment, CONF_TYPE_INT, CONF_RANGE, 0, 2, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
614 {"subwidth", &sub_width_p, CONF_TYPE_INT, CONF_RANGE, 10, 100, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
615 {"spualign", &spu_alignment, CONF_TYPE_INT, CONF_RANGE, -1, 2, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
616 {"spuaa", &spu_aamode, CONF_TYPE_INT, CONF_RANGE, 0, 31, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
617 {"spugauss", &spu_gaussvar, CONF_TYPE_FLOAT, CONF_RANGE, 0.0, 3.0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
618 #ifdef CONFIG_FREETYPE
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
619 {"subfont-encoding", &subtitle_font_encoding, CONF_TYPE_STRING, 0, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
620 {"subfont-text-scale", &text_font_scale_factor, CONF_TYPE_FLOAT, CONF_RANGE, 0, 100, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
621 {"subfont-osd-scale", &osd_font_scale_factor, CONF_TYPE_FLOAT, CONF_RANGE, 0, 100, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
622 {"subfont-blur", &subtitle_font_radius, CONF_TYPE_FLOAT, CONF_RANGE, 0, 8, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
623 {"subfont-outline", &subtitle_font_thickness, CONF_TYPE_FLOAT, CONF_RANGE, 0, 8, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
624 {"subfont-autoscale", &subtitle_autoscale, CONF_TYPE_INT, CONF_RANGE, 0, 3, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
625 #endif
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
626 #ifdef CONFIG_ASS
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
627 {"ass", &ass_enabled, CONF_TYPE_FLAG, 0, 0, 1, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
628 {"noass", &ass_enabled, CONF_TYPE_FLAG, 0, 1, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
629 {"ass-font-scale", &ass_font_scale, CONF_TYPE_FLOAT, CONF_RANGE, 0, 100, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
630 {"ass-line-spacing", &ass_line_spacing, CONF_TYPE_FLOAT, CONF_RANGE, -1000, 1000, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
631 {"ass-top-margin", &ass_top_margin, CONF_TYPE_INT, CONF_RANGE, 0, 2000, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
632 {"ass-bottom-margin", &ass_bottom_margin, CONF_TYPE_INT, CONF_RANGE, 0, 2000, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
633 {"ass-use-margins", &ass_use_margins, CONF_TYPE_FLAG, 0, 0, 1, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
634 {"noass-use-margins", &ass_use_margins, CONF_TYPE_FLAG, 0, 1, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
635 {"embeddedfonts", &extract_embedded_fonts, CONF_TYPE_FLAG, 0, 0, 1, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
636 {"noembeddedfonts", &extract_embedded_fonts, CONF_TYPE_FLAG, 0, 1, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
637 {"ass-force-style", &ass_force_style_list, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
638 {"ass-color", &ass_color, CONF_TYPE_STRING, 0, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
639 {"ass-border-color", &ass_border_color, CONF_TYPE_STRING, 0, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
640 {"ass-styles", &ass_styles_file, CONF_TYPE_STRING, 0, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
641 {"ass-hinting", &ass_hinting, CONF_TYPE_INT, CONF_RANGE, 0, 7, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
642 #endif
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
643 #ifdef CONFIG_FONTCONFIG
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
644 {"fontconfig", &font_fontconfig, CONF_TYPE_FLAG, 0, -1, 1, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
645 {"nofontconfig", &font_fontconfig, CONF_TYPE_FLAG, 0, 1, -1, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
646 #else
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
647 {"fontconfig", "MPlayer was compiled without fontconfig support.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
648 {"nofontconfig", "MPlayer was compiled without fontconfig support.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
649 #endif /* CONFIG_FONTCONFIG */
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
650 {NULL, NULL, 0, 0, 0, 0, NULL}
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
651 };
f73663d84979 Replace common options template by a common options array.
diego
parents: 31359
diff changeset
652
26360
a48df598c055 Split cfg-common.h into two separate header files. It was being included twice
diego
parents: 26130
diff changeset
653 #endif /* MPLAYER_CFG_COMMON_H */