Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Steve Lhomme
VLC
Commits
5e15258c
Commit
5e15258c
authored
May 27, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
A lot of missing const in options lists
parent
1f75e573
Changes
83
Hide whitespace changes
Inline
Side-by-side
Showing
83 changed files
with
249 additions
and
269 deletions
+249
-269
modules/access/bda/bda.c
modules/access/bda/bda.c
+18
-17
modules/access/cdda/cdda.c
modules/access/cdda/cdda.c
+2
-2
modules/access/directory.c
modules/access/directory.c
+3
-3
modules/access/dshow/dshow.cpp
modules/access/dshow/dshow.cpp
+7
-7
modules/access/dvdread.c
modules/access/dvdread.c
+2
-2
modules/access/pvr.c
modules/access/pvr.c
+5
-5
modules/access/v4l.c
modules/access/v4l.c
+1
-1
modules/access/v4l2/v4l2.c
modules/access/v4l2/v4l2.c
+6
-6
modules/access_output/file.c
modules/access_output/file.c
+1
-1
modules/access_output/http.c
modules/access_output/http.c
+1
-1
modules/access_output/shout.c
modules/access_output/shout.c
+1
-1
modules/audio_filter/channel_mixer/mono.c
modules/audio_filter/channel_mixer/mono.c
+1
-1
modules/audio_filter/equalizer_presets.h
modules/audio_filter/equalizer_presets.h
+2
-2
modules/audio_output/alsa.c
modules/audio_output/alsa.c
+2
-2
modules/audio_output/file.c
modules/audio_output/file.c
+11
-11
modules/audio_output/waveout.c
modules/audio_output/waveout.c
+2
-2
modules/codec/dirac.c
modules/codec/dirac.c
+1
-1
modules/codec/dvbsub.c
modules/codec/dvbsub.c
+3
-3
modules/codec/fake.c
modules/codec/fake.c
+1
-1
modules/codec/ffmpeg/encoder.c
modules/codec/ffmpeg/encoder.c
+1
-1
modules/codec/ffmpeg/ffmpeg.c
modules/codec/ffmpeg/ffmpeg.c
+7
-6
modules/codec/ffmpeg/mux.c
modules/codec/ffmpeg/mux.c
+1
-1
modules/codec/subtitles/subsdec.c
modules/codec/subtitles/subsdec.c
+5
-3
modules/codec/theora.c
modules/codec/theora.c
+1
-1
modules/codec/twolame.c
modules/codec/twolame.c
+3
-3
modules/codec/vorbis.c
modules/codec/vorbis.c
+1
-1
modules/codec/x264.c
modules/codec/x264.c
+11
-11
modules/codec/zvbi.c
modules/codec/zvbi.c
+3
-3
modules/control/gestures.c
modules/control/gestures.c
+2
-2
modules/demux/avi/avi.c
modules/demux/avi/avi.c
+2
-2
modules/demux/subtitle.c
modules/demux/subtitle.c
+1
-1
modules/gui/fbosd.c
modules/gui/fbosd.c
+6
-4
modules/gui/qt4/qt4.cpp
modules/gui/qt4/qt4.cpp
+4
-4
modules/gui/wxwidgets/wxwidgets.cpp
modules/gui/wxwidgets/wxwidgets.cpp
+6
-10
modules/misc/freetype.c
modules/misc/freetype.c
+8
-8
modules/misc/logger.c
modules/misc/logger.c
+2
-2
modules/misc/win32text.c
modules/misc/win32text.c
+5
-5
modules/mux/asf.c
modules/mux/asf.c
+1
-1
modules/mux/mp4.c
modules/mux/mp4.c
+1
-1
modules/mux/mpeg/ps.c
modules/mux/mpeg/ps.c
+1
-1
modules/mux/mpeg/ts.c
modules/mux/mpeg/ts.c
+1
-1
modules/stream_out/bridge.c
modules/stream_out/bridge.c
+2
-2
modules/stream_out/display.c
modules/stream_out/display.c
+1
-1
modules/stream_out/es.c
modules/stream_out/es.c
+1
-1
modules/stream_out/mosaic_bridge.c
modules/stream_out/mosaic_bridge.c
+1
-1
modules/stream_out/rtp.c
modules/stream_out/rtp.c
+1
-1
modules/stream_out/standard.c
modules/stream_out/standard.c
+1
-1
modules/stream_out/switcher.c
modules/stream_out/switcher.c
+1
-1
modules/stream_out/transcode.c
modules/stream_out/transcode.c
+2
-2
modules/video_filter/adjust.c
modules/video_filter/adjust.c
+1
-1
modules/video_filter/alphamask.c
modules/video_filter/alphamask.c
+1
-1
modules/video_filter/atmo/atmo.cpp
modules/video_filter/atmo/atmo.cpp
+2
-2
modules/video_filter/blendbench.c
modules/video_filter/blendbench.c
+1
-1
modules/video_filter/bluescreen.c
modules/video_filter/bluescreen.c
+1
-1
modules/video_filter/clone.c
modules/video_filter/clone.c
+1
-1
modules/video_filter/colorthres.c
modules/video_filter/colorthres.c
+3
-3
modules/video_filter/deinterlace.c
modules/video_filter/deinterlace.c
+5
-4
modules/video_filter/dynamicoverlay/dynamicoverlay.c
modules/video_filter/dynamicoverlay/dynamicoverlay.c
+1
-1
modules/video_filter/erase.c
modules/video_filter/erase.c
+1
-1
modules/video_filter/extract.c
modules/video_filter/extract.c
+4
-3
modules/video_filter/gaussianblur.c
modules/video_filter/gaussianblur.c
+1
-1
modules/video_filter/gradient.c
modules/video_filter/gradient.c
+3
-3
modules/video_filter/grain.c
modules/video_filter/grain.c
+0
-7
modules/video_filter/logo.c
modules/video_filter/logo.c
+3
-3
modules/video_filter/marq.c
modules/video_filter/marq.c
+8
-6
modules/video_filter/mosaic.c
modules/video_filter/mosaic.c
+5
-5
modules/video_filter/motionblur.c
modules/video_filter/motionblur.c
+1
-1
modules/video_filter/motiondetect.c
modules/video_filter/motiondetect.c
+0
-10
modules/video_filter/noise.c
modules/video_filter/noise.c
+0
-7
modules/video_filter/opencv_wrapper.c
modules/video_filter/opencv_wrapper.c
+6
-6
modules/video_filter/osdmenu.c
modules/video_filter/osdmenu.c
+2
-2
modules/video_filter/panoramix.c
modules/video_filter/panoramix.c
+1
-1
modules/video_filter/puzzle.c
modules/video_filter/puzzle.c
+1
-1
modules/video_filter/rotate.c
modules/video_filter/rotate.c
+1
-1
modules/video_filter/rss.c
modules/video_filter/rss.c
+9
-7
modules/video_filter/seamcarving.c
modules/video_filter/seamcarving.c
+0
-7
modules/video_filter/sharpen.c
modules/video_filter/sharpen.c
+1
-1
modules/video_filter/transform.c
modules/video_filter/transform.c
+3
-3
modules/video_filter/wall.c
modules/video_filter/wall.c
+1
-1
modules/video_output/image.c
modules/video_output/image.c
+3
-3
modules/video_output/msw/directx.c
modules/video_output/msw/directx.c
+2
-2
modules/video_output/opengl.c
modules/video_output/opengl.c
+4
-4
src/libvlc-module.c
src/libvlc-module.c
+20
-17
No files found.
modules/access/bda/bda.c
View file @
5e15258c
...
...
@@ -59,7 +59,7 @@ static int Control( access_t *, int, va_list );
#define INVERSION_TEXT N_("Inversion mode")
#define INVERSION_LONGTEXT N_("Inversion mode [0=off, 1=on, 2=auto]")
static
const
int
i_inversion_list
[]
=
{
-
1
,
0
,
1
,
2
};
static
const
char
*
ppsz_inversion_text
[]
=
{
N_
(
"Undefined"
),
N_
(
"Off"
),
static
const
char
*
const
ppsz_inversion_text
[]
=
{
N_
(
"Undefined"
),
N_
(
"Off"
),
N_
(
"On"
),
N_
(
"Auto"
)
};
#define PROBE_TEXT N_("Probe DVB card for capabilities")
...
...
@@ -111,47 +111,47 @@ static const char *ppsz_inversion_text[] = { N_("Undefined"), N_("Off"),
#define MODULATION_LONGTEXT N_("QAM constellation points " \
"[16, 32, 64, 128, 256]")
static
const
int
i_qam_list
[]
=
{
-
1
,
16
,
32
,
64
,
128
,
256
};
static
const
char
*
ppsz_qam_text
[]
=
{
N_
(
"Undefined"
),
N_
(
"16"
),
N_
(
"32"
),
N_
(
"64"
),
N_
(
"128"
),
N_
(
"256"
)
};
static
const
char
*
const
ppsz_qam_text
[]
=
{
N_
(
"Undefined"
),
N_
(
"16"
),
N_
(
"32"
),
N_
(
"64"
),
N_
(
"128"
),
N_
(
"256"
)
};
/* Terrestrial */
#define CODE_RATE_HP_TEXT N_("Terrestrial high priority stream code rate (FEC)")
#define CODE_RATE_HP_LONGTEXT N_("High Priority FEC Rate " \
"[Undefined,1/2,2/3,3/4,5/6,7/8]")
static
const
int
i_hp_fec_list
[]
=
{
-
1
,
1
,
2
,
3
,
4
,
5
};
static
const
char
*
ppsz_hp_fec_text
[]
=
{
N_
(
"Undefined"
),
N_
(
"1/2"
),
N_
(
"2/3"
),
N_
(
"3/4"
),
N_
(
"5/6"
),
N_
(
"7/8"
)
};
static
const
char
*
const
ppsz_hp_fec_text
[]
=
{
N_
(
"Undefined"
),
N_
(
"1/2"
),
N_
(
"2/3"
),
N_
(
"3/4"
),
N_
(
"5/6"
),
N_
(
"7/8"
)
};
#define CODE_RATE_LP_TEXT N_("Terrestrial low priority stream code rate (FEC)")
#define CODE_RATE_LP_LONGTEXT N_("Low Priority FEC Rate " \
"[Undefined,1/2,2/3,3/4,5/6,7/8]")
static
const
int
i_lp_fec_list
[]
=
{
-
1
,
1
,
2
,
3
,
4
,
5
};
static
const
char
*
ppsz_lp_fec_text
[]
=
{
N_
(
"Undefined"
),
N_
(
"1/2"
),
N_
(
"2/3"
),
N_
(
"3/4"
),
N_
(
"5/6"
),
N_
(
"7/8"
)
};
static
const
char
*
const
ppsz_lp_fec_text
[]
=
{
N_
(
"Undefined"
),
N_
(
"1/2"
),
N_
(
"2/3"
),
N_
(
"3/4"
),
N_
(
"5/6"
),
N_
(
"7/8"
)
};
#define BANDWIDTH_TEXT N_("Terrestrial bandwidth")
#define BANDWIDTH_LONGTEXT N_("Terrestrial bandwidth [0=auto,6,7,8 in MHz]")
static
const
int
i_band_list
[]
=
{
-
1
,
6
,
7
,
8
};
static
const
char
*
ppsz_band_text
[]
=
{
N_
(
"Undefined"
),
N_
(
"6 MHz"
),
N_
(
"7 MHz"
),
N_
(
"8 MHz"
)
};
static
const
char
*
const
ppsz_band_text
[]
=
{
N_
(
"Undefined"
),
N_
(
"6 MHz"
),
N_
(
"7 MHz"
),
N_
(
"8 MHz"
)
};
#define GUARD_TEXT N_("Terrestrial guard interval")
#define GUARD_LONGTEXT N_("Guard interval [Undefined,1/4,1/8,1/16,1/32]")
static
const
int
i_guard_list
[]
=
{
-
1
,
4
,
8
,
16
,
32
};
static
const
char
*
ppsz_guard_text
[]
=
{
N_
(
"Undefined"
),
N_
(
"1/4"
),
N_
(
"1/8"
),
N_
(
"1/16"
),
N_
(
"1/32"
)
};
static
const
char
*
const
ppsz_guard_text
[]
=
{
N_
(
"Undefined"
),
N_
(
"1/4"
),
N_
(
"1/8"
),
N_
(
"1/16"
),
N_
(
"1/32"
)
};
#define TRANSMISSION_TEXT N_("Terrestrial transmission mode")
#define TRANSMISSION_LONGTEXT N_("Transmission mode [Undefined,2k,8k]")
static
const
int
i_transmission_list
[]
=
{
-
1
,
2
,
8
};
static
const
char
*
ppsz_transmission_text
[]
=
{
N_
(
"Undefined"
),
N_
(
"2k"
),
N_
(
"8k"
)
};
static
const
char
*
const
ppsz_transmission_text
[]
=
{
N_
(
"Undefined"
),
N_
(
"2k"
),
N_
(
"8k"
)
};
#define HIERARCHY_TEXT N_("Terrestrial hierarchy mode")
#define HIERARCHY_LONGTEXT N_("Hierarchy alpha value [Undefined,1,2,4]")
static
const
int
i_hierarchy_list
[]
=
{
-
1
,
1
,
2
,
4
};
static
const
char
*
ppsz_hierarchy_text
[]
=
{
N_
(
"Undefined"
),
N_
(
"1"
),
N_
(
"2"
),
N_
(
"4"
)
};
static
const
char
*
const
ppsz_hierarchy_text
[]
=
{
N_
(
"Undefined"
),
N_
(
"1"
),
N_
(
"2"
),
N_
(
"4"
)
};
/* BDA module additional DVB-S Parameters */
#define AZIMUTH_TEXT N_("Satellite Azimuth")
...
...
@@ -163,8 +163,9 @@ static const char *ppsz_hierarchy_text[] = { N_("Undefined"), N_("1"),
"Satellite Longitude in 10ths of degree, -ve=West")
#define POLARISATION_TEXT N_("Satellite Polarisation")
#define POLARISATION_LONGTEXT N_("Satellite Polarisation [H/V/L/R]")
static
const
char
*
ppsz_polar_list
[]
=
{
"H"
,
"V"
,
"L"
,
"R"
};
static
const
char
*
ppsz_polar_text
[]
=
{
N_
(
"Horizontal"
),
N_
(
"Vertical"
),
static
const
char
*
const
ppsz_polar_list
[]
=
{
"H"
,
"V"
,
"L"
,
"R"
};
static
const
char
*
const
ppsz_polar_text
[]
=
{
N_
(
"Horizontal"
),
N_
(
"Vertical"
),
N_
(
"Circular Left"
),
N_
(
"Circular Right"
)
};
vlc_module_begin
();
...
...
modules/access/cdda/cdda.c
View file @
5e15258c
...
...
@@ -39,8 +39,8 @@
*****************************************************************************/
#if LIBCDIO_VERSION_NUM >= 72
static
const
char
*
psz_paranoia_list
[]
=
{
"none"
,
"overlap"
,
"full"
};
static
const
char
*
psz_paranoia_list_text
[]
=
{
N_
(
"none"
),
N_
(
"overlap"
),
static
const
char
*
const
psz_paranoia_list
[]
=
{
"none"
,
"overlap"
,
"full"
};
static
const
char
*
const
psz_paranoia_list_text
[]
=
{
N_
(
"none"
),
N_
(
"overlap"
),
N_
(
"full"
)
};
#endif
...
...
modules/access/directory.c
View file @
5e15258c
...
...
@@ -79,9 +79,9 @@ static int DemuxOpen ( vlc_object_t * );
"collapse: subdirectories appear but are expanded on first play.\n" \
"expand: all subdirectories are expanded.\n" )
static
const
char
*
psz_recursive_list
[]
=
{
"none"
,
"collapse"
,
"expand"
};
static
const
char
*
psz_recursive_list_text
[]
=
{
N_
(
"none"
),
N_
(
"collapse"
),
N_
(
"expand"
)
};
static
const
char
*
const
psz_recursive_list
[]
=
{
"none"
,
"collapse"
,
"expand"
};
static
const
char
*
const
psz_recursive_list_text
[]
=
{
N_
(
"none"
),
N_
(
"collapse"
),
N_
(
"expand"
)
};
#define IGNORE_TEXT N_("Ignored extensions")
#define IGNORE_LONGTEXT N_( \
...
...
modules/access/dshow/dshow.cpp
View file @
5e15258c
...
...
@@ -77,19 +77,19 @@ static void ConfigTuner( vlc_object_t *, ICaptureGraphBuilder2 *,
/*****************************************************************************
* Module descriptor
*****************************************************************************/
static
const
char
*
ppsz_vdev
[]
=
{
""
,
"none"
};
static
const
char
*
ppsz_vdev_text
[]
=
{
N_
(
"Default"
),
N_
(
"None"
)
};
static
const
char
*
ppsz_adev
[]
=
{
""
,
"none"
};
static
const
char
*
ppsz_adev_text
[]
=
{
N_
(
"Default"
),
N_
(
"None"
)
};
static
int
pi_tuner_input
[]
=
{
0
,
1
,
2
};
static
const
char
*
ppsz_tuner_input_text
[]
=
static
const
char
*
const
ppsz_vdev
[]
=
{
""
,
"none"
};
static
const
char
*
const
ppsz_vdev_text
[]
=
{
N_
(
"Default"
),
N_
(
"None"
)
};
static
const
char
*
const
ppsz_adev
[]
=
{
""
,
"none"
};
static
const
char
*
const
ppsz_adev_text
[]
=
{
N_
(
"Default"
),
N_
(
"None"
)
};
static
const
int
pi_tuner_input
[]
=
{
0
,
1
,
2
};
static
const
char
*
const
ppsz_tuner_input_text
[]
=
{
N_
(
"Default"
),
N_
(
"Cable"
),
N_
(
"Antenna"
)};
static
const
int
pi_amtuner_mode
[]
=
{
AMTUNER_MODE_DEFAULT
,
AMTUNER_MODE_TV
,
AMTUNER_MODE_FM_RADIO
,
AMTUNER_MODE_AM_RADIO
,
AMTUNER_MODE_DSS
};
static
const
char
*
ppsz_amtuner_mode_text
[]
=
{
N_
(
"Default"
),
static
const
char
*
const
ppsz_amtuner_mode_text
[]
=
{
N_
(
"Default"
),
N_
(
"TV"
),
N_
(
"FM radio"
),
N_
(
"AM radio"
),
...
...
modules/access/dvdread.c
View file @
5e15258c
...
...
@@ -87,8 +87,8 @@
"libcss.\n" \
"The default method is: key.")
static
const
char
*
psz_css_list
[]
=
{
"title"
,
"disc"
,
"key"
};
static
const
char
*
psz_css_list_text
[]
=
{
N_
(
"title"
),
N_
(
"Disc"
),
N_
(
"Key"
)
};
static
const
char
*
const
psz_css_list
[]
=
{
"title"
,
"disc"
,
"key"
};
static
const
char
*
const
psz_css_list_text
[]
=
{
N_
(
"title"
),
N_
(
"Disc"
),
N_
(
"Key"
)
};
static
int
Open
(
vlc_object_t
*
);
static
void
Close
(
vlc_object_t
*
);
...
...
modules/access/pvr.c
View file @
5e15258c
...
...
@@ -114,15 +114,15 @@ static void Close( vlc_object_t * );
#define CHAN_LONGTEXT N_( "Channel of the card to use (Usually, 0 = tuner, " \
"1 = composite, 2 = svideo)" )
static
int
i_norm_list
[]
=
static
const
int
i_norm_list
[]
=
{
V4L2_STD_UNKNOWN
,
V4L2_STD_SECAM
,
V4L2_STD_PAL
,
V4L2_STD_NTSC
};
static
const
char
*
psz_norm_list_text
[]
=
static
const
char
*
const
psz_norm_list_text
[]
=
{
N_
(
"Automatic"
),
N_
(
"SECAM"
),
N_
(
"PAL"
),
N_
(
"NTSC"
)
};
static
int
i_bitrates
[]
=
{
0
,
1
};
static
const
char
*
psz_bitrates_list_text
[]
=
{
N_
(
"vbr"
),
N_
(
"cbr"
)
};
static
const
int
i_bitrates
[]
=
{
0
,
1
};
static
const
char
*
const
psz_bitrates_list_text
[]
=
{
N_
(
"vbr"
),
N_
(
"cbr"
)
};
static
int
pi_radio_range
[
2
]
=
{
65000
,
108000
};
static
const
int
pi_radio_range
[
2
]
=
{
65000
,
108000
};
vlc_module_begin
();
set_shortname
(
N_
(
"PVR"
)
);
...
...
modules/access/v4l.c
View file @
5e15258c
...
...
@@ -143,7 +143,7 @@ static void Close( vlc_object_t * );
static
int
i_norm_list
[]
=
{
VIDEO_MODE_AUTO
,
VIDEO_MODE_SECAM
,
VIDEO_MODE_PAL
,
VIDEO_MODE_NTSC
};
static
const
char
*
psz_norm_list_text
[]
=
static
const
char
*
const
psz_norm_list_text
[]
=
{
N_
(
"Automatic"
),
N_
(
"SECAM"
),
N_
(
"PAL"
),
N_
(
"NTSC"
)
};
vlc_module_begin
();
...
...
modules/access/v4l2/v4l2.c
View file @
5e15258c
...
...
@@ -240,21 +240,21 @@ typedef enum {
IO_METHOD_USERPTR
,
}
io_method
;
static
int
i_standards_list
[]
=
static
const
int
i_standards_list
[]
=
{
V4L2_STD_UNKNOWN
,
V4L2_STD_SECAM
,
V4L2_STD_PAL
,
V4L2_STD_NTSC
};
static
const
char
*
psz_standards_list_text
[]
=
static
const
char
*
const
psz_standards_list_text
[]
=
{
N_
(
"Default"
),
N_
(
"SECAM"
),
N_
(
"PAL"
),
N_
(
"NTSC"
)
};
static
int
i_iomethod_list
[]
=
static
const
int
i_iomethod_list
[]
=
{
IO_METHOD_READ
,
IO_METHOD_MMAP
,
IO_METHOD_USERPTR
};
static
const
char
*
psz_iomethod_list_text
[]
=
static
const
char
*
const
psz_iomethod_list_text
[]
=
{
N_
(
"READ"
),
N_
(
"MMAP"
),
N_
(
"USERPTR"
)
};
static
int
i_tuner_audio_modes_list
[]
=
static
const
int
i_tuner_audio_modes_list
[]
=
{
V4L2_TUNER_MODE_MONO
,
V4L2_TUNER_MODE_STEREO
,
V4L2_TUNER_MODE_LANG1
,
V4L2_TUNER_MODE_LANG2
,
V4L2_TUNER_MODE_SAP
,
V4L2_TUNER_MODE_LANG1_LANG2
};
static
const
char
*
psz_tuner_audio_modes_list_text
[]
=
static
const
char
*
const
psz_tuner_audio_modes_list_text
[]
=
{
N_
(
"Mono"
),
N_
(
"Stereo"
),
N_
(
"Primary language (Analog TV tuners only)"
),
...
...
modules/access_output/file.c
View file @
5e15258c
...
...
@@ -81,7 +81,7 @@ vlc_module_end();
/*****************************************************************************
* Exported prototypes
*****************************************************************************/
static
const
char
*
ppsz_sout_options
[]
=
{
static
const
char
*
const
ppsz_sout_options
[]
=
{
"append"
,
NULL
};
...
...
modules/access_output/http.c
View file @
5e15258c
...
...
@@ -123,7 +123,7 @@ vlc_module_end();
/*****************************************************************************
* Exported prototypes
*****************************************************************************/
static
const
char
*
ppsz_sout_options
[]
=
{
static
const
char
*
const
ppsz_sout_options
[]
=
{
"user"
,
"pwd"
,
"mime"
,
"cert"
,
"key"
,
"ca"
,
"crl"
,
NULL
};
...
...
modules/access_output/shout.c
View file @
5e15258c
...
...
@@ -140,7 +140,7 @@ vlc_module_end();
/*****************************************************************************
* Exported prototypes
*****************************************************************************/
static
const
char
*
ppsz_sout_options
[]
=
{
static
const
char
*
const
ppsz_sout_options
[]
=
{
"name"
,
"description"
,
"mp3"
,
"genre"
,
"url"
,
"bitrate"
,
"samplerate"
,
"channels"
,
"quality"
,
"public"
,
NULL
};
...
...
modules/audio_filter/channel_mixer/mono.c
View file @
5e15258c
...
...
@@ -97,7 +97,7 @@ struct filter_sys_t
"2=rear left, 3=rear right, 4=center, 5=left front)")
static
const
int
pi_pos_values
[]
=
{
0
,
1
,
2
,
4
,
8
,
5
};
static
const
char
*
ppsz_pos_descriptions
[]
=
static
const
char
*
const
ppsz_pos_descriptions
[]
=
{
N_
(
"Left"
),
N_
(
"Right"
),
N_
(
"Left rear"
),
N_
(
"Right rear"
),
N_
(
"Center"
),
N_
(
"Left front"
)
};
...
...
modules/audio_filter/equalizer_presets.h
View file @
5e15258c
...
...
@@ -31,12 +31,12 @@
#define EQZ_BANDS_MAX 10
#define NB_PRESETS 18
static
const
char
*
preset_list
[]
=
{
static
const
char
*
const
preset_list
[]
=
{
"flat"
,
"classical"
,
"club"
,
"dance"
,
"fullbass"
,
"fullbasstreble"
,
"fulltreble"
,
"headphones"
,
"largehall"
,
"live"
,
"party"
,
"pop"
,
"reggae"
,
"rock"
,
"ska"
,
"soft"
,
"softrock"
,
"techno"
};
static
const
char
*
preset_list_text
[]
=
{
static
const
char
*
const
preset_list_text
[]
=
{
N_
(
"Flat"
),
N_
(
"Classical"
),
N_
(
"Club"
),
N_
(
"Dance"
),
N_
(
"Full bass"
),
N_
(
"Full bass and treble"
),
N_
(
"Full treble"
),
N_
(
"Headphones"
),
N_
(
"Large Hall"
),
N_
(
"Live"
),
N_
(
"Party"
),
N_
(
"Pop"
),
N_
(
"Reggae"
),
...
...
modules/audio_output/alsa.c
View file @
5e15258c
...
...
@@ -101,8 +101,8 @@ static int FindDevicesCallback( vlc_object_t *p_this, char const *psz_name,
/*****************************************************************************
* Module descriptor
*****************************************************************************/
static
const
char
*
ppsz_devices
[]
=
{
"default"
};
static
const
char
*
ppsz_devices_text
[]
=
{
N_
(
"Default"
)
};
static
const
char
*
const
ppsz_devices
[]
=
{
"default"
};
static
const
char
*
const
ppsz_devices_text
[]
=
{
N_
(
"Default"
)
};
vlc_module_begin
();
set_shortname
(
"ALSA"
);
set_description
(
N_
(
"ALSA audio output"
)
);
...
...
modules/audio_output/file.c
View file @
5e15258c
...
...
@@ -91,19 +91,19 @@ static void Play ( aout_instance_t * );
#define WAV_LONGTEXT N_("Instead of writing a raw file, you can add a WAV " \
"header to the file.")
static
const
char
*
format_list
[]
=
{
"u8"
,
"s8"
,
"u16"
,
"s16"
,
"u16_le"
,
static
const
char
*
const
format_list
[]
=
{
"u8"
,
"s8"
,
"u16"
,
"s16"
,
"u16_le"
,
"s16_le"
,
"u16_be"
,
"s16_be"
,
"fixed32"
,
"float32"
,
"spdif"
};
static
int
format_int
[]
=
{
VLC_FOURCC
(
'u'
,
'8'
,
' '
,
' '
),
VLC_FOURCC
(
's'
,
'8'
,
' '
,
' '
),
AOUT_FMT_U16_NE
,
AOUT_FMT_S16_NE
,
VLC_FOURCC
(
'u'
,
'1'
,
'6'
,
'l'
),
VLC_FOURCC
(
's'
,
'1'
,
'6'
,
'l'
),
VLC_FOURCC
(
'u'
,
'1'
,
'6'
,
'b'
),
VLC_FOURCC
(
's'
,
'1'
,
'6'
,
'b'
),
VLC_FOURCC
(
'f'
,
'i'
,
'3'
,
'2'
),
VLC_FOURCC
(
'f'
,
'l'
,
'3'
,
'2'
),
VLC_FOURCC
(
's'
,
'p'
,
'i'
,
'f'
)
};
static
const
int
format_int
[]
=
{
VLC_FOURCC
(
'u'
,
'8'
,
' '
,
' '
),
VLC_FOURCC
(
's'
,
'8'
,
' '
,
' '
),
AOUT_FMT_U16_NE
,
AOUT_FMT_S16_NE
,
VLC_FOURCC
(
'u'
,
'1'
,
'6'
,
'l'
),
VLC_FOURCC
(
's'
,
'1'
,
'6'
,
'l'
),
VLC_FOURCC
(
'u'
,
'1'
,
'6'
,
'b'
),
VLC_FOURCC
(
's'
,
'1'
,
'6'
,
'b'
),
VLC_FOURCC
(
'f'
,
'i'
,
'3'
,
'2'
),
VLC_FOURCC
(
'f'
,
'l'
,
'3'
,
'2'
),
VLC_FOURCC
(
's'
,
'p'
,
'i'
,
'f'
)
};
#define FILE_TEXT N_("Output file")
#define FILE_LONGTEXT N_("File to which the audio samples will be written to. (\"-\" for stdout")
...
...
modules/audio_output/waveout.c
View file @
5e15258c
...
...
@@ -144,8 +144,8 @@ static uint32_t findDeviceID(char *);
static
const
char
psz_device_name_fmt
[]
=
"%s ($%x,$%x)"
;
static
const
char
*
ppsz_adev
[]
=
{
"wavemapper"
,
};
static
const
char
*
ppsz_adev_text
[]
=
{
N_
(
"Microsoft Soundmapper"
)
};
static
const
char
*
const
ppsz_adev
[]
=
{
"wavemapper"
,
};
static
const
char
*
const
ppsz_adev_text
[]
=
{
N_
(
"Microsoft Soundmapper"
)
};
...
...
modules/codec/dirac.c
View file @
5e15258c
...
...
@@ -62,7 +62,7 @@ static block_t *Encode( encoder_t *p_enc, picture_t *p_pict );
#define ENC_CFG_PREFIX "sout-dirac-"
static
const
char
*
ppsz_enc_options
[]
=
{
static
const
char
*
const
ppsz_enc_options
[]
=
{
"quality"
,
NULL
};
...
...
modules/codec/dvbsub.c
View file @
5e15258c
...
...
@@ -70,8 +70,8 @@
#define ENC_POSY_TEXT N_("Encoding Y coordinate")
#define ENC_POSY_LONGTEXT N_("Y coordinate of the encoded subtitle" )
static
int
pi_pos_values
[]
=
{
0
,
1
,
2
,
4
,
8
,
5
,
6
,
9
,
10
};
static
const
char
*
ppsz_pos_descriptions
[]
=
static
const
int
pi_pos_values
[]
=
{
0
,
1
,
2
,
4
,
8
,
5
,
6
,
9
,
10
};
static
const
char
*
const
ppsz_pos_descriptions
[]
=
{
N_
(
"Center"
),
N_
(
"Left"
),
N_
(
"Right"
),
N_
(
"Top"
),
N_
(
"Bottom"
),
N_
(
"Top-Left"
),
N_
(
"Top-Right"
),
N_
(
"Bottom-Left"
),
N_
(
"Bottom-Right"
)
};
...
...
@@ -110,7 +110,7 @@ vlc_module_begin();
add_obsolete_integer
(
ENC_CFG_PREFIX
"timeout"
);
/* Suppressed since 0.8.5 */
vlc_module_end
();
static
const
char
*
ppsz_enc_options
[]
=
{
"x"
,
"y"
,
NULL
};
static
const
char
*
const
ppsz_enc_options
[]
=
{
"x"
,
"y"
,
NULL
};
/****************************************************************************
* Local structures
...
...
modules/codec/fake.c
View file @
5e15258c
...
...
@@ -78,7 +78,7 @@ static int FakeCallback( vlc_object_t *, char const *,
#define CHROMA_LONGTEXT N_( \
"Force use of a specific chroma for output. Default is I420." )
static
const
char
*
ppsz_deinterlace_type
[]
=
static
const
char
*
const
ppsz_deinterlace_type
[]
=
{
"deinterlace"
,
"ffmpeg-deinterlace"
};
...
...
modules/codec/ffmpeg/encoder.c
View file @
5e15258c
...
...
@@ -149,7 +149,7 @@ struct encoder_sys_t
mtime_t
pi_delay_pts
[
MAX_FRAME_DELAY
];
};
static
const
char
*
ppsz_enc_options
[]
=
{
static
const
char
*
const
ppsz_enc_options
[]
=
{
"keyint"
,
"bframes"
,
"vt"
,
"qmin"
,
"qmax"
,
"hq"
,
"strict-rc"
,
"rc-buffer-size"
,
"rc-buffer-aggressivity"
,
"pre-me"
,
"hurry-up"
,
"interlace"
,
"i-quant-factor"
,
"noise-reduction"
,
"mpeg4-matrix"
,
...
...
modules/codec/ffmpeg/ffmpeg.c
View file @
5e15258c
...
...
@@ -70,18 +70,19 @@ struct decoder_sys_t
static
int
OpenDecoder
(
vlc_object_t
*
);
static
void
CloseDecoder
(
vlc_object_t
*
);
static
int
nloopf_list
[]
=
{
0
,
1
,
2
,
3
,
4
};
static
const
char
*
nloopf_list_text
[]
=
static
const
int
nloopf_list
[]
=
{
0
,
1
,
2
,
3
,
4
};
static
const
char
*
const
nloopf_list_text
[]
=
{
N_
(
"None"
),
N_
(
"Non-ref"
),
N_
(
"Bidir"
),
N_
(
"Non-key"
),
N_
(
"All"
)
};
#ifdef ENABLE_SOUT
static
const
char
*
enc_hq_list
[]
=
{
"rd"
,
"bits"
,
"simple"
};
static
const
char
*
enc_hq_list_text
[]
=
{
N_
(
"rd"
),
N_
(
"bits"
),
N_
(
"simple"
)
};
static
const
char
*
const
enc_hq_list
[]
=
{
"rd"
,
"bits"
,
"simple"
};
static
const
char
*
const
enc_hq_list_text
[]
=
{
N_
(
"rd"
),
N_
(
"bits"
),
N_
(
"simple"
)
};
#endif
#if defined(HAVE_LIBSWSCALE_SWSCALE_H) || defined(HAVE_FFMPEG_SWSCALE_H)
static
int
pi_mode_values
[]
=
{
0
,
1
,
2
,
4
,
8
,
5
,
6
,
9
,
10
};
static
const
char
*
ppsz_mode_descriptions
[]
=
static
const
int
pi_mode_values
[]
=
{
0
,
1
,
2
,
4
,
8
,
5
,
6
,
9
,
10
};
static
const
char
*
const
ppsz_mode_descriptions
[]
=
{
N_
(
"Fast bilinear"
),
N_
(
"Bilinear"
),
N_
(
"Bicubic (good quality)"
),
N_
(
"Experimental"
),
N_
(
"Nearest neighbour (bad quality)"
),
N_
(
"Area"
),
N_
(
"Luma bicubic / chroma bilinear"
),
N_
(
"Gauss"
),
...
...
modules/codec/ffmpeg/mux.c
View file @
5e15258c
...
...
@@ -47,7 +47,7 @@
/* Version checking */
#if defined(HAVE_LIBAVFORMAT_AVFORMAT_H) || defined(HAVE_FFMPEG_AVFORMAT_H)
static
const
char
*
ppsz_mux_options
[]
=
{
static
const
char
*
const
ppsz_mux_options
[]
=
{
"mux"
,
NULL
};
...
...
modules/codec/subtitles/subsdec.c
View file @
5e15258c
...
...
@@ -49,7 +49,8 @@ static char *CreateHtmlSubtitle ( char * );
/*****************************************************************************
* Module descriptor.
*****************************************************************************/
static
const
char
*
ppsz_encodings
[]
=
{
DEFAULT_NAME
,
"ASCII"
,
"UTF-8"
,
""
,
static
const
char
*
const
ppsz_encodings
[]
=
{
DEFAULT_NAME
,
"ASCII"
,
"UTF-8"
,
""
,
"ISO-8859-1"
,
"CP1252"
,
"MacRoman"
,
"MacIceland"
,
"ISO-8859-15"
,
""
,
"ISO-8859-2"
,
"CP1250"
,
"MacCentralEurope"
,
"MacCroatian"
,
"MacRomania"
,
""
,
"ISO-8859-5"
,
"CP1251"
,
"MacCyrillic"
,
"MacUkraine"
,
"KOI8-R"
,
"KOI8-U"
,
"KOI8-RU"
,
""
,
...
...
@@ -96,8 +97,9 @@ The following known charsets are used:
254 = PC 437
*/
static
int
pi_justification
[]
=
{
0
,
1
,
2
};
static
const
char
*
ppsz_justification_text
[]
=
{
N_
(
"Center"
),
N_
(
"Left"
),
N_
(
"Right"
)};
static
const
int
pi_justification
[]
=
{
0
,
1
,
2
};
static
const
char
*
const
ppsz_justification_text
[]
=
{
N_
(
"Center"
),
N_
(
"Left"
),
N_
(
"Right"
)};
#define ENCODING_TEXT N_("Subtitles text encoding")
#define ENCODING_LONGTEXT N_("Set the encoding used in text subtitles")
...
...
modules/codec/theora.c
View file @
5e15258c
...
...
@@ -121,7 +121,7 @@ vlc_module_begin();
ENC_QUALITY_LONGTEXT
,
false
);
vlc_module_end
();
static
const
char
*
ppsz_enc_options
[]
=
{
static
const
char
*
const
ppsz_enc_options
[]
=
{
"quality"
,
NULL
};
...
...
modules/codec/twolame.c
View file @
5e15258c
...
...
@@ -66,8 +66,8 @@ static block_t *Encode ( encoder_t *, aout_buffer_t * );
#define ENC_PSY_LONGTEXT N_( \
"Integer from -1 (no model) to 4." )
static
int
pi_stereo_values
[]
=
{
0
,
1
,
2
};
static
c
har
*
ppsz_stereo_descriptions
[]
=
static
const
int
pi_stereo_values
[]
=
{
0
,
1
,
2
};
static
c
onst
char
*
const
ppsz_stereo_descriptions
[]
=
{
N_
(
"Stereo"
),
N_
(
"Dual mono"
),
N_
(
"Joint stereo"
)
};
...
...
@@ -90,7 +90,7 @@ vlc_module_begin();
ENC_PSY_LONGTEXT
,
false
);
vlc_module_end
();
static
const
char
*
ppsz_enc_options
[]
=
{
static
const
char
*
const
ppsz_enc_options
[]
=
{
"quality"
,
"mode"
,
"vbr"
,
"psy"
,
NULL
};
...
...
modules/codec/vorbis.c
View file @
5e15258c
...
...
@@ -223,7 +223,7 @@ vlc_module_begin();
vlc_module_end
();
#ifndef MODULE_NAME_IS_tremor
static
const
char
*
ppsz_enc_options
[]
=
{
static
const
char
*
const
ppsz_enc_options
[]
=
{
"quality"
,
"max-bitrate"
,
"min-bitrate"
,
"cbr"
,
NULL
};
#endif
...
...
modules/codec/x264.c
View file @
5e15258c
...
...
@@ -373,33 +373,33 @@ static void Close( vlc_object_t * );
#define AUD_LONGTEXT N_( "Generate access unit delimiter NAL units.")
#if X264_BUILD >= 24 && X264_BUILD < 58
static
const
char
*
enc_me_list
[]
=
static
const
char
*
const
enc_me_list
[]
=
{
"dia"
,
"hex"
,
"umh"
,
"esa"
};
static
const
char
*
enc_me_list_text
[]
=
static
const
char
*
const
enc_me_list_text
[]
=
{
N_
(
"dia"
),
N_
(
"hex"
),
N_
(
"umh"
),
N_
(
"esa"
)
};
#endif
#if X264_BUILD >= 58
/* r728 */
static
const
char
*
enc_me_list
[]
=
static
const
char
*
const
enc_me_list
[]
=
{
"dia"
,
"hex"
,
"umh"
,
"esa"
,
"tesa"
};
static
const
char
*
enc_me_list_text
[]
=
static
const
char
*
const
enc_me_list_text
[]
=
{
N_
(
"dia"
),
N_
(
"hex"
),
N_
(
"umh"
),
N_
(
"esa"
),
N_
(
"tesa"
)
};
#endif
static
const
char
*
enc_analyse_list
[]
=
static
const
char
*
const
enc_analyse_list
[]
=
{
"none"
,
"fast"
,
"normal"
,
"slow"
,
"all"
};
static
const
char
*
enc_analyse_list_text
[]
=
static
const
char
*
const
enc_analyse_list_text
[]
=
{
N_
(
"none"
),
N_
(
"fast"
),
N_
(
"normal"
),
N_
(
"slow"
),
N_
(
"all"
)
};
#if X264_BUILD >= 45
/* r457 */
static
const
char
*
direct_pred_list
[]
=
static
const
char
*
const
direct_pred_list
[]
=
{
"none"
,
"spatial"
,
"temporal"
,
"auto"
};
static
const
char
*
direct_pred_list_text
[]
=
static
const
char
*
const
direct_pred_list_text
[]
=
{
N_
(
"none"
),
N_
(
"spatial"
),
N_
(
"temporal"
),
N_
(
"auto"
)
};
#else
static
const
char
*
direct_pred_list
[]
=
static
const
char
*
const
direct_pred_list
[]
=
{
"none"
,
"spatial"
,
"temporal"
};
static
const
char
*
direct_pred_list_text
[]
=
static
const
char
*
const
direct_pred_list_text
[]
=
{
N_
(
"none"
),
N_
(
"spatial"
),
N_
(
"temporal"
)
};
#endif
...
...
@@ -690,7 +690,7 @@ vlc_module_end();
/*****************************************************************************
* Local prototypes
*****************************************************************************/
static
const
char
*
ppsz_sout_options
[]
=
{
static
const
char
*
const
ppsz_sout_options
[]
=
{
"8x8dct"
,
"analyse"
,
"asm"
,
"aud"
,
"bframes"
,
"bime"
,
"bpyramid"
,
"b-adapt"
,
"b-bias"
,
"b-rdo"
,
"cabac"
,
"chroma-me"
,
"chroma-qp-offset"
,
"cplxblur"
,
"crf"
,
"dct-decimate"
,
"deadzone-inter"
,
"deadzone-intra"
,
...
...
modules/codec/zvbi.c
View file @
5e15258c
...
...
@@ -96,14 +96,14 @@ static subpicture_t *Decode( decoder_t *, block_t ** );
// #define ZVBI_DEBUG
static
int
pi_pos_values
[]
=
{
0
,
1
,
2
,
4
,
8
,
5
,
6
,
9
,
10
};
static
const
char
*
ppsz_pos_descriptions
[]
=
static
const
int
pi_pos_values
[]
=
{
0
,
1
,
2
,
4
,
8
,
5
,
6
,
9
,
10
};
static
const
char
*
const
ppsz_pos_descriptions
[]
=
{
N_
(
"Center"
),
N_
(
"Left"
),
N_
(
"Right"
),
N_
(
"Top"
),
N_
(
"Bottom"
),
N_
(
"Top-Left"
),
N_
(
"Top-Right"
),
N_
(
"Bottom-Left"
),
N_
(
"Bottom-Right"
)
};
vlc_module_begin
();
set_description
(
N_
(
"VBI and Teletext decoder"
)
);
set_shortname
(
"VBI & Teletext"
);
set_shortname
(
N_
(
"VBI & Teletext"
)
);
set_capability
(
"decoder"
,
51
);
set_category
(
CAT_INPUT
);
set_subcategory
(
SUBCAT_INPUT_SCODEC
);
...
...
modules/control/gestures.c
View file @
5e15258c
...
...
@@ -87,8 +87,8 @@ static void RunIntf ( intf_thread_t *p_intf );
#define BUTTON_LONGTEXT N_( \
"Trigger button for mouse gestures." )
static
const
char
*
button_list
[]
=
{
"left"
,
"middle"
,
"right"
};
static
const
char
*
button_list_text
[]
=
static
const
char
*
const
button_list
[]
=
{
"left"
,
"middle"
,
"right"
};
static
const
char
*
const
button_list_text
[]
=
{
N_
(
"Left"
),
N_
(
"Middle"
),
N_
(
"Right"
)
};
vlc_module_begin
();
...
...
modules/demux/avi/avi.c
View file @
5e15258c
...
...
@@ -55,9 +55,9 @@
static
int
Open
(
vlc_object_t
*
);
static
void
Close
(
vlc_object_t
*
);
static
int
pi_index
[]
=
{
0
,
1
,
2
};