Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
0d2c5a89
Commit
0d2c5a89
authored
Mar 11, 2006
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Strings (Refs:#438)
parent
07d375a8
Changes
16
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
92 additions
and
53 deletions
+92
-53
modules/demux/avi/avi.c
modules/demux/avi/avi.c
+5
-4
modules/demux/demuxdump.c
modules/demux/demuxdump.c
+5
-6
modules/demux/mjpeg.c
modules/demux/mjpeg.c
+4
-3
modules/demux/mod.c
modules/demux/mod.c
+40
-13
modules/demux/mpc.c
modules/demux/mpc.c
+4
-2
modules/demux/mpeg/h264.c
modules/demux/mpeg/h264.c
+1
-1
modules/demux/mpeg/mpga.c
modules/demux/mpeg/mpga.c
+1
-1
modules/demux/nsv.c
modules/demux/nsv.c
+6
-1
modules/demux/ogg.c
modules/demux/ogg.c
+2
-1
modules/demux/playlist/playlist.c
modules/demux/playlist/playlist.c
+5
-5
modules/demux/ps.c
modules/demux/ps.c
+2
-2
modules/demux/rawdv.c
modules/demux/rawdv.c
+2
-1
modules/demux/sgimb.c
modules/demux/sgimb.c
+1
-1
modules/demux/subtitle.c
modules/demux/subtitle.c
+9
-7
modules/demux/util/id3tag.c
modules/demux/util/id3tag.c
+3
-3
modules/demux/vobsub.c
modules/demux/vobsub.c
+2
-2
No files found.
modules/demux/avi/avi.c
View file @
0d2c5a89
...
...
@@ -45,7 +45,7 @@
#define INDEX_TEXT N_("Force index creation")
#define INDEX_LONGTEXT N_( \
"Recreate a index for the AVI file. Use this if your AVI file is damaged "\
"or incomplete (not seekable)" )
"or incomplete (not seekable)
.
" )
static
int
Open
(
vlc_object_t
*
);
static
void
Close
(
vlc_object_t
*
);
...
...
@@ -1167,8 +1167,8 @@ static int Seek( demux_t *p_demux, mtime_t i_date, int i_percent )
int64_t
i_pos
;
/* use i_percent to create a true i_date */
msg_Warn
(
p_demux
,
"
mmh,
seeking without index at %d%%"
"
work only for interleaved file
"
,
i_percent
);
msg_Warn
(
p_demux
,
"seeking without index at %d%%"
"
only works for interleaved files
"
,
i_percent
);
if
(
i_percent
>=
100
)
{
msg_Warn
(
p_demux
,
"cannot seek so far !"
);
...
...
@@ -2170,7 +2170,8 @@ static void AVI_IndexLoad_indx( demux_t *p_demux )
if
(
!
p_indx
)
{
msg_Warn
(
p_demux
,
"cannot find indx (misdetect/broken OpenDML file?)"
);
msg_Warn
(
p_demux
,
"cannot find indx (misdetect/broken OpenDML "
"file?)"
);
continue
;
}
...
...
modules/demux/demuxdump.c
View file @
0d2c5a89
...
...
@@ -35,13 +35,12 @@
/*****************************************************************************
* Module descriptor
*****************************************************************************/
#define FILE_TEXT N_("
Filename of dump
")
#define FILE_TEXT N_("
Dump filename
")
#define FILE_LONGTEXT N_( \
"
Specify a file nam
e to which the raw stream will be dumped." )
#define APPEND_TEXT N_("Append")
"
Name of the fil
e to which the raw stream will be dumped." )
#define APPEND_TEXT N_("Append
to existing file
")
#define APPEND_LONGTEXT N_( \
"If the file exists and this option is selected, the existing file " \
"will not be overwritten." )
"If the file already exists, it will not be overwritten." )
static
int
Open
(
vlc_object_t
*
);
static
void
Close
(
vlc_object_t
*
);
...
...
@@ -50,7 +49,7 @@ vlc_module_begin();
set_shortname
(
"Dump"
);
set_category
(
CAT_INPUT
);
set_subcategory
(
SUBCAT_INPUT_DEMUX
);
set_description
(
_
(
"File
dump demux
er"
)
);
set_description
(
_
(
"File
dumpp
er"
)
);
set_capability
(
"demux2"
,
0
);
add_file
(
"demuxdump-file"
,
"stream-demux.dump"
,
NULL
,
FILE_TEXT
,
FILE_LONGTEXT
,
VLC_FALSE
);
...
...
modules/demux/mjpeg.c
View file @
0d2c5a89
...
...
@@ -41,12 +41,13 @@ static int Open ( vlc_object_t * );
static
void
Close
(
vlc_object_t
*
);
#define FPS_TEXT N_("Frames per Second")
#define FPS_LONGTEXT N_("Allows you to set the desired frame rate when " \
"playing from files, use 0 for live.")
#define FPS_LONGTEXT N_("This is the desired frame rate when " \
"playing MJPEG from a file. Use 0 (this is the default value) for a " \
"live stream (from the camera).")
vlc_module_begin
();
set_shortname
(
"MJPEG"
);
set_description
(
_
(
"JPEG camera demuxer"
)
);
set_description
(
_
(
"
M-
JPEG camera demuxer"
)
);
set_capability
(
"demux2"
,
5
);
set_callbacks
(
Open
,
Close
);
set_category
(
CAT_INPUT
);
...
...
modules/demux/mod.c
View file @
0d2c5a89
...
...
@@ -44,6 +44,23 @@
static
int
Open
(
vlc_object_t
*
);
static
void
Close
(
vlc_object_t
*
);
#define NOISE_LONGTEXT N_("Enable noise reduction algorithm")
#define REVERB_LONGTEXT N_("Enable reverberation" )
#define REVERB_LEVEL_LONGTEXT N_( "Reverberation level (from 0 " \
"to 100, default value is 0)." )
#define REVERB_DELAY_LONGTEXT N_("Reverberation delay, in ms." \
" Usual values are from to 40 to 200ms." )
#define MEGABASS_LONGTEXT N_( "Enable megabass mode" )
#define MEGABASS_LEVEL_LONGTEXT N_("Megabass mode level (from 0 to 100, " \
"default value is 0)." )
#define MEGABASS_RANGE_LONGTEXT N_("Megabass mode cutoff frequency, in Hz." \
"This is the maximum frequency for which the megabass " \
"effect applies. Valid values are from 10 to 100 Hz" )
#define SURROUND_LEVEL_LONGTEXT N_( "Surround effect level (from 0 to 100, " \
"default value is 0)." )
#define SURROUND_DELAY_LONGTEXT N_("Surround delay, in ms. Usual values are " \
"from 5 to 40 ms" )
vlc_module_begin
();
set_shortname
(
"MOD"
);
set_description
(
_
(
"MOD demuxer (libmodplug)"
)
);
...
...
@@ -51,19 +68,29 @@ vlc_module_begin();
set_category
(
CAT_INPUT
);
set_subcategory
(
SUBCAT_INPUT_DEMUX
);
add_bool
(
"mod-noisereduction"
,
VLC_TRUE
,
NULL
,
N_
(
"Noise reduction"
),
N_
(
"Noise reduction"
),
VLC_FALSE
);
add_bool
(
"mod-reverb"
,
VLC_FALSE
,
NULL
,
N_
(
"Reverb"
),
N_
(
"Reverb"
),
VLC_FALSE
);
add_integer_with_range
(
"mod-reverb-level"
,
0
,
0
,
100
,
NULL
,
N_
(
"Reverb level (0-100)"
),
N_
(
"Reverb level (0-100 defaults to 0)"
),
VLC_FALSE
);
add_integer_with_range
(
"mod-reverb-delay"
,
40
,
0
,
1000
,
NULL
,
N_
(
"Reverb delay (ms)"
),
N_
(
"Reverb delay in ms (usually 40-200ms)"
),
VLC_FALSE
);
add_bool
(
"mod-megabass"
,
VLC_FALSE
,
NULL
,
N_
(
"Mega bass"
),
N_
(
"Mega bass"
),
VLC_FALSE
);
add_integer_with_range
(
"mod-megabass-level"
,
0
,
0
,
100
,
NULL
,
N_
(
"Mega bass level (0-100)"
),
N_
(
"Mega bass level (0-100 defaults to 0)"
),
VLC_FALSE
);
add_integer_with_range
(
"mod-megabass-range"
,
10
,
10
,
100
,
NULL
,
N_
(
"Mega bass cut off (Hz)"
),
N_
(
"Mega bass cut off (10-100Hz)"
),
VLC_FALSE
);
add_bool
(
"mod-surround"
,
VLC_FALSE
,
NULL
,
N_
(
"Surround"
),
N_
(
"Surround"
),
VLC_FALSE
);
add_integer_with_range
(
"mod-surround-level"
,
0
,
0
,
100
,
NULL
,
N_
(
"Surround level (0-100)"
),
N_
(
"Surround level (0-100 defaults to 0)"
),
VLC_FALSE
);
add_integer_with_range
(
"mod-surround-delay"
,
5
,
0
,
1000
,
NULL
,
N_
(
"Surround delay (ms)"
),
N_
(
"Surround delay in ms (usually 5-40ms)"
),
VLC_FALSE
);
add_bool
(
"mod-noisereduction"
,
VLC_TRUE
,
NULL
,
N_
(
"Noise reduction"
),
NOISE_LONGTEXT
,
VLC_FALSE
);
add_bool
(
"mod-reverb"
,
VLC_FALSE
,
NULL
,
N_
(
"Reverb"
),
REVERB_LONGTEXT
,
VLC_FALSE
);
add_integer_with_range
(
"mod-reverb-level"
,
0
,
0
,
100
,
NULL
,
N_
(
"Reverberation level"
),
REVERB_LEVEL_LONGTEXT
,
VLC_TRUE
);
add_integer_with_range
(
"mod-reverb-delay"
,
40
,
0
,
1000
,
NULL
,
N_
(
"Reverberation delay"
),
REVERB_DELAY_LONGTEXT
,
VLC_TRUE
);
add_bool
(
"mod-megabass"
,
VLC_FALSE
,
NULL
,
N_
(
"Mega bass"
),
MEGABASS_LONGTEXT
,
VLC_FALSE
);
add_integer_with_range
(
"mod-megabass-level"
,
0
,
0
,
100
,
NULL
,
N_
(
"Mega bass level"
),
MEGABASS_LEVEL_LONGTEXT
,
VLC_TRUE
);
add_integer_with_range
(
"mod-megabass-range"
,
10
,
10
,
100
,
NULL
,
N_
(
"Mega bass cutoff"
),
MEGABASS_RANGE_LONGTEXT
,
VLC_TRUE
);
add_bool
(
"mod-surround"
,
VLC_FALSE
,
NULL
,
N_
(
"Surround"
),
N_
(
"Surround"
),
VLC_FALSE
);
add_integer_with_range
(
"mod-surround-level"
,
0
,
0
,
100
,
NULL
,
N_
(
"Surround level"
),
SURROUND_LEVEL_LONGTEXT
,
VLC_TRUE
);
add_integer_with_range
(
"mod-surround-delay"
,
5
,
0
,
1000
,
NULL
,
N_
(
"Surround delay (ms)"
),
SURROUND_DELAY_LONGTEXT
,
VLC_TRUE
);
set_callbacks
(
Open
,
Close
);
add_shortcut
(
"mod"
);
...
...
modules/demux/mpc.c
View file @
0d2c5a89
...
...
@@ -44,7 +44,9 @@
* Module descriptor
*****************************************************************************/
#define REPLAYGAIN_TYPE_TEXT N_("Replay Gain type" )
#define REPLAYGAIN_TYPE_LONGTEXT N_( "Replay Gain type" )
#define REPLAYGAIN_TYPE_LONGTEXT N_( "Musepack can have a title-specific " \
"replay gain (volume control) or an album-specific one. " \
"Choose which type you want to use" )
static
int
Open
(
vlc_object_t
*
);
static
void
Close
(
vlc_object_t
*
);
...
...
@@ -54,7 +56,7 @@ static char *ppsz_replaygain_type[] = { N_("None"), N_("Title"), N_("Album") };
vlc_module_begin
();
set_shortname
(
"MPC"
);
set_description
(
_
(
"M
PC
demuxer"
)
);
set_description
(
_
(
"M
usePack
demuxer"
)
);
set_category
(
CAT_INPUT
);
set_subcategory
(
SUBCAT_INPUT_DEMUX
);
set_capability
(
"demux2"
,
145
);
...
...
modules/demux/mpeg/h264.c
View file @
0d2c5a89
...
...
@@ -37,7 +37,7 @@ static int Open ( vlc_object_t * );
static
void
Close
(
vlc_object_t
*
);
#define FPS_TEXT N_("Frames per Second")
#define FPS_LONGTEXT N_("
Allows you to set the desired frame rate
.")
#define FPS_LONGTEXT N_("
Desired frame rate for the H264 stream
.")
vlc_module_begin
();
...
...
modules/demux/mpeg/mpga.c
View file @
0d2c5a89
...
...
@@ -43,7 +43,7 @@ static void Close( vlc_object_t * );
vlc_module_begin
();
set_category
(
CAT_INPUT
);
set_subcategory
(
SUBCAT_INPUT_DEMUX
);
set_description
(
_
(
"MPEG
-I/II audio
demuxer"
)
);
set_description
(
_
(
"MPEG
audio / MP3
demuxer"
)
);
set_capability
(
"demux2"
,
100
);
set_callbacks
(
Open
,
Close
);
add_shortcut
(
"mpga"
);
...
...
modules/demux/nsv.c
View file @
0d2c5a89
...
...
@@ -154,6 +154,7 @@ static int Demux( demux_t *p_demux )
msg_Warn
(
p_demux
,
"cannot peek"
);
return
0
;
}
fprintf
(
stderr
,
"4 first bytes Signature %x: %c%c%c%c
\n
"
,
*
(
uint32_t
*
)
p_peek
,
p_peek
[
0
],
p_peek
[
1
],
p_peek
[
2
],
p_peek
[
3
]
);
if
(
!
strncmp
(
(
char
*
)
p_peek
,
"NSVf"
,
4
)
)
{
...
...
@@ -172,6 +173,7 @@ static int Demux( demux_t *p_demux )
}
else
if
(
GetWLE
(
p_peek
)
==
0xbeef
)
{
fprintf
(
stderr
,
"Next frame
\n
"
);
/* Next frame of the current NSVs chunk */
if
(
stream_Read
(
p_demux
->
s
,
NULL
,
2
)
<
2
)
{
...
...
@@ -187,6 +189,7 @@ static int Demux( demux_t *p_demux )
{
return
-
1
;
}
fprintf
(
stderr
,
"Resynchronized
\n
"
);
}
}
...
...
@@ -393,14 +396,16 @@ static int ReSynch( demux_t *p_demux )
return
VLC_EGENERIC
;
}
i_skip
=
0
;
fprintf
(
stderr
,
"Poke %i resync bytes
\n
"
,
i_peek
);
while
(
i_skip
<
i_peek
-
4
)
{
if
(
!
strncmp
(
(
char
*
)
p_peek
,
"NSVf"
,
4
)
||
!
strncmp
(
(
char
*
)
p_peek
,
"NSVs"
,
4
)
)
{
fprintf
(
stderr
,
"Found NSVx chunk after %i
\n
"
,
i_skip
);
if
(
i_skip
>
0
)
{
fprintf
(
stderr
,
"Skipping %i bytes
\n
"
,
i_skip
);
stream_Read
(
p_demux
->
s
,
NULL
,
i_skip
);
}
return
VLC_SUCCESS
;
...
...
modules/demux/ogg.c
View file @
0d2c5a89
...
...
@@ -40,7 +40,8 @@ static int Open ( vlc_object_t * );
static
void
Close
(
vlc_object_t
*
);
vlc_module_begin
();
set_description
(
_
(
"Ogg stream demuxer"
)
);
set_shortname
(
"OGG"
);
set_description
(
_
(
"OGG demuxer"
)
);
set_category
(
CAT_INPUT
);
set_subcategory
(
SUBCAT_INPUT_DEMUX
);
set_capability
(
"demux2"
,
50
);
...
...
modules/demux/playlist/playlist.c
View file @
0d2c5a89
...
...
@@ -34,16 +34,16 @@
* Module descriptor
*****************************************************************************/
#define AUTOSTART_TEXT N_( "Auto start" )
#define AUTOSTART_LONGTEXT N_( "Automatically start
the playlist when
" \
"
it's loaded.\n" )
#define AUTOSTART_LONGTEXT N_( "Automatically start
playing the playlist
" \
"content once
it's loaded.\n" )
vlc_module_begin
();
add_shortcut
(
"playlist"
);
set_category
(
CAT_INPUT
);
set_subcategory
(
SUBCAT_INPUT_DEMUX
);
add_bool
(
"playlist-autostart"
,
1
,
NULL
,
AUTOSTART_TEXT
,
AUTOSTART_LONGTEXT
,
VLC_FALSE
);
add_bool
(
"playlist-autostart"
,
1
,
NULL
,
AUTOSTART_TEXT
,
AUTOSTART_LONGTEXT
,
VLC_FALSE
);
set_shortname
(
_
(
"Playlist"
)
);
set_description
(
_
(
"Playlist"
)
);
...
...
@@ -80,7 +80,7 @@ vlc_module_begin();
set_capability
(
"demux2"
,
10
);
set_callbacks
(
E_
(
Import_DVB
),
E_
(
Close_DVB
)
);
add_submodule
();
set_description
(
_
(
"Podcast p
laylist import
"
)
);
set_description
(
_
(
"Podcast p
arser
"
)
);
add_shortcut
(
"podcast"
);
set_capability
(
"demux2"
,
10
);
set_callbacks
(
E_
(
Import_podcast
),
E_
(
Close_podcast
)
);
...
...
modules/demux/ps.c
View file @
0d2c5a89
...
...
@@ -44,7 +44,7 @@ static int OpenAlt( vlc_object_t * );
static
void
Close
(
vlc_object_t
*
);
vlc_module_begin
();
set_description
(
_
(
"PS demuxer"
)
);
set_description
(
_
(
"
MPEG-
PS demuxer"
)
);
set_category
(
CAT_INPUT
);
set_subcategory
(
SUBCAT_INPUT_DEMUX
);
set_capability
(
"demux2"
,
1
);
...
...
@@ -52,7 +52,7 @@ vlc_module_begin();
add_shortcut
(
"ps"
);
add_submodule
();
set_description
(
_
(
"PS demuxer"
)
);
set_description
(
_
(
"
MPEG-
PS demuxer"
)
);
set_capability
(
"demux2"
,
9
);
set_callbacks
(
OpenAlt
,
Close
);
vlc_module_end
();
...
...
modules/demux/rawdv.c
View file @
0d2c5a89
...
...
@@ -36,7 +36,8 @@ static int Open ( vlc_object_t * );
static
void
Close
(
vlc_object_t
*
);
vlc_module_begin
();
set_description
(
_
(
"raw DV demuxer"
)
);
set_shortname
(
"DV"
);
set_description
(
_
(
"DV (Digital Video) demuxer"
)
);
set_capability
(
"demux2"
,
2
);
set_category
(
CAT_INPUT
);
set_subcategory
(
SUBCAT_INPUT_DEMUX
);
...
...
modules/demux/sgimb.c
View file @
0d2c5a89
...
...
@@ -110,7 +110,7 @@ static int Activate ( vlc_object_t * );
static
void
Deactivate
(
vlc_object_t
*
);
vlc_module_begin
();
set_description
(
_
(
"Kasenna MediaBase
metademux
"
)
);
set_description
(
_
(
"Kasenna MediaBase
parser
"
)
);
set_category
(
CAT_INPUT
);
set_subcategory
(
SUBCAT_INPUT_DEMUX
);
set_capability
(
"demux2"
,
170
);
...
...
modules/demux/subtitle.c
View file @
0d2c5a89
...
...
@@ -44,13 +44,15 @@ static int Open ( vlc_object_t *p_this );
static
void
Close
(
vlc_object_t
*
p_this
);
#define SUB_DELAY_LONGTEXT \
"
Delay subtitles (in 1/10s)
"
"
Apply a delay to all subtitles (in 1/10s, eg 100 means 10s).
"
#define SUB_FPS_LONGTEXT \
"Override
frames per second
. " \
"
It will only work with MicroDVD
subtitles."
"Override
the normal frames per second settings
. " \
"
This will only work with MicroDVD and SubRIP (SRT)
subtitles."
#define SUB_TYPE_LONGTEXT \
"One from \"microdvd\", \"subrip\", \"ssa1\", \"ssa2-4\", \"ass\", \"vplayer\" " \
"\"sami\", \"dvdsubtitle\" (auto for autodetection, it should always work)."
"Force the subtiles format. Valid values are : \"microdvd\", \"subrip\"," \
"\"ssa1\", \"ssa2-4\", \"ass\", \"vplayer\" " \
"\"sami\", \"dvdsubtitle\" and \"auto\" (meaning autodetection, this " \
"should always work)."
static
char
*
ppsz_sub_type
[]
=
{
"auto"
,
"microdvd"
,
"subrip"
,
"subviewer"
,
"ssa1"
,
...
...
@@ -59,7 +61,7 @@ static char *ppsz_sub_type[] =
vlc_module_begin
();
set_shortname
(
_
(
"Subtitles"
));
set_description
(
_
(
"Text subtitles
demux
"
)
);
set_description
(
_
(
"Text subtitles
parser
"
)
);
set_capability
(
"demux2"
,
0
);
set_category
(
CAT_INPUT
);
set_subcategory
(
SUBCAT_INPUT_DEMUX
);
...
...
@@ -69,7 +71,7 @@ vlc_module_begin();
add_integer
(
"sub-delay"
,
0
,
NULL
,
N_
(
"Subtitles delay"
),
SUB_DELAY_LONGTEXT
,
VLC_TRUE
);
add_string
(
"sub-type"
,
"auto"
,
NULL
,
"Subtitles fileformat"
,
add_string
(
"sub-type"
,
"auto"
,
NULL
,
N_
(
"Subtitles format"
)
,
SUB_TYPE_LONGTEXT
,
VLC_TRUE
);
change_string_list
(
ppsz_sub_type
,
0
,
0
);
set_callbacks
(
Open
,
Close
);
...
...
modules/demux/util/id3tag.c
View file @
0d2c5a89
...
...
@@ -47,9 +47,9 @@ static int ParseID3Tags ( vlc_object_t * );
* Module descriptor
*****************************************************************************/
vlc_module_begin
();
set_description
(
_
(
"ID3 tag parser using libid3tag
"
)
);
set_capability
(
"id3"
,
70
);
set_callbacks
(
ParseID3Tags
,
NULL
);
set_description
(
_
(
"ID3 tags parser
"
)
);
set_capability
(
"id3"
,
70
);
set_callbacks
(
ParseID3Tags
,
NULL
);
vlc_module_end
();
/*****************************************************************************
...
...
modules/demux/vobsub.c
View file @
0d2c5a89
...
...
@@ -45,11 +45,11 @@ static int Open ( vlc_object_t *p_this );
static
void
Close
(
vlc_object_t
*
p_this
);
vlc_module_begin
();
set_description
(
_
(
"Vobsub subtitles
demux
"
)
);
set_description
(
_
(
"Vobsub subtitles
parser
"
)
);
set_category
(
CAT_INPUT
);
set_subcategory
(
SUBCAT_INPUT_DEMUX
);
set_capability
(
"demux2"
,
1
);
set_callbacks
(
Open
,
Close
);
add_shortcut
(
"vobsub"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment