Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
778a77df
Commit
778a77df
authored
Mar 31, 2006
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* 2nd review of video* and control/telnet.c
parent
86e50bb4
Changes
22
Hide whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
76 additions
and
77 deletions
+76
-77
modules/control/telnet.c
modules/control/telnet.c
+13
-13
modules/video_filter/adjust.c
modules/video_filter/adjust.c
+1
-1
modules/video_filter/distort.c
modules/video_filter/distort.c
+4
-5
modules/video_filter/logo.c
modules/video_filter/logo.c
+1
-1
modules/video_filter/marq.c
modules/video_filter/marq.c
+6
-6
modules/video_filter/mosaic.c
modules/video_filter/mosaic.c
+17
-17
modules/video_filter/motiondetect.c
modules/video_filter/motiondetect.c
+3
-3
modules/video_filter/osdmenu.c
modules/video_filter/osdmenu.c
+1
-1
modules/video_filter/rss.c
modules/video_filter/rss.c
+7
-7
modules/video_filter/time.c
modules/video_filter/time.c
+3
-3
modules/video_output/aa.c
modules/video_output/aa.c
+1
-1
modules/video_output/directx/directx.c
modules/video_output/directx/directx.c
+1
-1
modules/video_output/directx/events.c
modules/video_output/directx/events.c
+2
-2
modules/video_output/directx/glwin32.c
modules/video_output/directx/glwin32.c
+1
-1
modules/video_output/ggi.c
modules/video_output/ggi.c
+1
-1
modules/video_output/opengl.c
modules/video_output/opengl.c
+3
-3
modules/video_output/qte/qte.cpp
modules/video_output/qte/qte.cpp
+2
-2
modules/video_output/sdl.c
modules/video_output/sdl.c
+1
-1
modules/video_output/snapshot.c
modules/video_output/snapshot.c
+2
-2
modules/video_output/x11/glx.c
modules/video_output/x11/glx.c
+4
-4
modules/video_output/x11/xcommon.c
modules/video_output/x11/xcommon.c
+1
-1
modules/video_output/x11/xvideo.c
modules/video_output/x11/xvideo.c
+1
-1
No files found.
modules/control/telnet.c
View file @
778a77df
/*****************************************************************************
* telnet.c: VLM interface plugin
*****************************************************************************
* Copyright (C) 2000-200
5
the VideoLAN team
* Copyright (C) 2000-200
6
the VideoLAN team
* $Id$
*
* Authors: Simon Latapie <garf@videolan.org>
...
...
@@ -69,18 +69,18 @@
static
int
Open
(
vlc_object_t
*
);
static
void
Close
(
vlc_object_t
*
);
#define TELNETHOST_TEXT N_( "
Telnet interface listen h
ost" )
#define TELNETHOST_LONGTEXT N_( "This is the host on which the
telnet
" \
#define TELNETHOST_TEXT N_( "
H
ost" )
#define TELNETHOST_LONGTEXT N_( "This is the host on which the " \
"interface will listen. It defaults to all network interfaces (0.0.0.0)." \
" If you want th
e telnet
interface to be available only on the local " \
"machine, enter
127.0.0.1
" )
#define TELNETPORT_TEXT N_( "
Telnet interface p
ort" )
#define TELNETPORT_LONGTEXT N_( "This is the TCP port on which th
e telnet
" \
"interface will listen. It defaults to 4212" )
" If you want th
is
interface to be available only on the local " \
"machine, enter
\"127.0.0.1\".
" )
#define TELNETPORT_TEXT N_( "
P
ort" )
#define TELNETPORT_LONGTEXT N_( "This is the TCP port on which th
is
" \
"interface will listen. It defaults to 4212
.
" )
#define TELNETPORT_DEFAULT 4212
#define TELNETPWD_TEXT N_( "
Telnet interface p
assword" )
#define TELNETPWD_LONGTEXT N_( "
The telnet interface uses a single
" \
"
administration password
. The default value is \"admin\"." )
#define TELNETPWD_TEXT N_( "
P
assword" )
#define TELNETPWD_LONGTEXT N_( "
A single administration password is used
" \
"
to protect this interface
. The default value is \"admin\"." )
#define TELNETPWD_DEFAULT "admin"
vlc_module_begin
();
...
...
@@ -175,7 +175,7 @@ static int Open( vlc_object_t *p_this )
return
VLC_EGENERIC
;
}
msg_Info
(
p_intf
,
"
U
sing the VLM interface plugin..."
);
msg_Info
(
p_intf
,
"
u
sing the VLM interface plugin..."
);
i_telnetport
=
config_GetInt
(
p_intf
,
"telnet-port"
);
psz_address
=
config_GetPsz
(
p_intf
,
"telnet-host"
);
...
...
@@ -197,7 +197,7 @@ static int Open( vlc_object_t *p_this )
return
VLC_EGENERIC
;
}
msg_Info
(
p_intf
,
"
T
elnet interface started on interface %s %d"
,
"
t
elnet interface started on interface %s %d"
,
url
.
psz_host
,
url
.
i_port
);
p_intf
->
p_sys
->
i_clients
=
0
;
...
...
modules/video_filter/adjust.c
View file @
778a77df
...
...
@@ -59,7 +59,7 @@ static int SendEvents( vlc_object_t *, char const *,
#define THRES_TEXT N_("Brightness threshold")
#define THRES_LONGTEXT N_("When this mode is enabled, pixels will be " \
"shown as black or white. The treshold value will be the brighness " \
"shown as black or white. The t
h
reshold value will be the brighness " \
"defined below." )
#define CONT_TEXT N_("Image contrast (0-2)")
#define CONT_LONGTEXT N_("Set the image contrast, between 0 and 2. Defaults to 1.")
...
...
modules/video_filter/distort.c
View file @
778a77df
...
...
@@ -62,15 +62,15 @@ static int SendEvents ( vlc_object_t *, char const *,
* Module descriptor
*****************************************************************************/
#define MODE_TEXT N_("Distort mode")
#define MODE_LONGTEXT N_("Distort mode, one of \"wave\", \"ripple\", \"gradient\", \"edge\", \"hough\" and \"psychedelic\"")
#define MODE_LONGTEXT N_("Distort mode, one of \"wave\", \"ripple\", \"gradient\", \"edge\", \"hough\" and \"psychedelic\"
.
")
#define GRADIENT_TEXT N_("Gradient image type")
#define GRADIENT_LONGTEXT N_("Gradient image type (0 or 1). 0 will " \
"turn the image to white while 1 will keep colors." )
#define CARTOON_TEXT N_("Apply cartoon effect")
#define CARTOON_LONGTEXT N_("Apply cartoon effect.
Used by \"gradient\"
" \
"
and \"edge\".")
#define CARTOON_LONGTEXT N_("Apply cartoon effect.
It is only used by
" \
"\"gradient\"
and \"edge\".")
static
char
*
mode_list
[]
=
{
"wave"
,
"ripple"
,
"gradient"
,
"edge"
,
"hough"
,
"psychedelic"
};
...
...
@@ -205,8 +205,7 @@ static int Create( vlc_object_t *p_this )
}
else
{
msg_Err
(
p_vout
,
"no valid distort mode provided, "
"using wave"
);
msg_Err
(
p_vout
,
"no valid distort mode provided, using wave"
);
p_vout
->
p_sys
->
i_mode
=
WAVE
;
}
}
...
...
modules/video_filter/logo.c
View file @
778a77df
...
...
@@ -237,7 +237,7 @@ void __LoadLogoList( vlc_object_t *p_this, logo_list_t *p_logo_list )
if
(
!
p_logo
[
i
].
p_pic
)
{
msg_Warn
(
p_this
,
"
Error while loading logo %s. It
will be skipped"
,
msg_Warn
(
p_this
,
"
error while loading logo %s,
will be skipped"
,
p_logo
[
i
].
psz_file
);
}
...
...
modules/video_filter/marq.c
View file @
778a77df
...
...
@@ -74,18 +74,18 @@ struct filter_sys_t
};
#define MSG_TEXT N_("Text")
#define MSG_LONGTEXT N_("Marquee text to display")
#define MSG_LONGTEXT N_("Marquee text to display
.
")
#define POSX_TEXT N_("X offset")
#define POSX_LONGTEXT N_("X offset, from the left screen edge" )
#define POSX_LONGTEXT N_("X offset, from the left screen edge
.
" )
#define POSY_TEXT N_("Y offset")
#define POSY_LONGTEXT N_("Y offset, down from the top" )
#define POSY_LONGTEXT N_("Y offset, down from the top
.
" )
#define TIMEOUT_TEXT N_("Timeout")
#define TIMEOUT_LONGTEXT N_("Number of milliseconds the marquee must remain " \
"display. Default value is " \
"display
ed
. Default value is " \
"0 (remains forever).")
#define OPACITY_TEXT N_("Opacity")
#define OPACITY_LONGTEXT N_("Opacity (inverse of transparency) of " \
"overlay text. 0 = transparent, 255 = totally opaque. " )
"overlay
ed
text. 0 = transparent, 255 = totally opaque. " )
#define SIZE_TEXT N_("Font size, pixels")
#define SIZE_LONGTEXT N_("Font size, in pixels. Default is -1 (use default " \
"font size)." )
...
...
@@ -138,7 +138,7 @@ vlc_module_begin();
add_integer
(
"marq-timeout"
,
0
,
NULL
,
TIMEOUT_TEXT
,
TIMEOUT_LONGTEXT
,
VLC_FALSE
);
set_description
(
_
(
"Marquee display
sub filter
"
)
);
set_description
(
_
(
"Marquee display"
)
);
add_shortcut
(
"marq"
);
vlc_module_end
();
...
...
modules/video_filter/mosaic.c
View file @
778a77df
...
...
@@ -101,11 +101,11 @@ struct filter_sys_t
#define YOFFSET_TEXT N_("Top left corner Y coordinate")
#define YOFFSET_LONGTEXT N_("Y Coordinate of the top-left corner of the mosaic.")
#define VBORDER_TEXT N_("Vertical border width")
#define VBORDER_LONGTEXT N_( "Wi
th in pixels of the border than can be drawn "
\
"vertically around the mosaic
" )
#define VBORDER_LONGTEXT N_( "Wi
dth in pixels of the border than can be "
\
"drawn vertically around the mosaic.
" )
#define HBORDER_TEXT N_("Horizontal border width")
#define HBORDER_LONGTEXT N_( "Wi
th in pixels of the border than can be drawn "
\
"horizontally around the mosaic
" )
#define HBORDER_LONGTEXT N_( "Wi
dth in pixels of the border than can "
\
"be drawn horizontally around the mosaic.
" )
#define ALIGN_TEXT N_("Mosaic alignment" )
#define ALIGN_LONGTEXT N_( \
...
...
@@ -758,7 +758,7 @@ static int MosaicCallback( vlc_object_t *p_this, char const *psz_var,
if
(
!
strcmp
(
psz_var
,
"mosaic-alpha"
)
)
{
vlc_mutex_lock
(
&
p_sys
->
lock
);
msg_Dbg
(
p_this
,
"
C
hanging alpha from %d/255 to %d/255"
,
msg_Dbg
(
p_this
,
"
c
hanging alpha from %d/255 to %d/255"
,
p_sys
->
i_alpha
,
newval
.
i_int
);
p_sys
->
i_alpha
=
__MIN
(
__MAX
(
newval
.
i_int
,
0
),
255
);
vlc_mutex_unlock
(
&
p_sys
->
lock
);
...
...
@@ -766,7 +766,7 @@ static int MosaicCallback( vlc_object_t *p_this, char const *psz_var,
else
if
(
!
strcmp
(
psz_var
,
"mosaic-height"
)
)
{
vlc_mutex_lock
(
&
p_sys
->
lock
);
msg_Dbg
(
p_this
,
"
C
hanging height from %dpx to %dpx"
,
msg_Dbg
(
p_this
,
"
c
hanging height from %dpx to %dpx"
,
p_sys
->
i_height
,
newval
.
i_int
);
p_sys
->
i_height
=
__MAX
(
newval
.
i_int
,
0
);
vlc_mutex_unlock
(
&
p_sys
->
lock
);
...
...
@@ -774,7 +774,7 @@ static int MosaicCallback( vlc_object_t *p_this, char const *psz_var,
else
if
(
!
strcmp
(
psz_var
,
"mosaic-width"
)
)
{
vlc_mutex_lock
(
&
p_sys
->
lock
);
msg_Dbg
(
p_this
,
"
C
hanging width from %dpx to %dpx"
,
msg_Dbg
(
p_this
,
"
c
hanging width from %dpx to %dpx"
,
p_sys
->
i_width
,
newval
.
i_int
);
p_sys
->
i_width
=
__MAX
(
newval
.
i_int
,
0
);
vlc_mutex_unlock
(
&
p_sys
->
lock
);
...
...
@@ -782,7 +782,7 @@ static int MosaicCallback( vlc_object_t *p_this, char const *psz_var,
else
if
(
!
strcmp
(
psz_var
,
"mosaic-xoffset"
)
)
{
vlc_mutex_lock
(
&
p_sys
->
lock
);
msg_Dbg
(
p_this
,
"
C
hanging x offset from %dpx to %dpx"
,
msg_Dbg
(
p_this
,
"
c
hanging x offset from %dpx to %dpx"
,
p_sys
->
i_xoffset
,
newval
.
i_int
);
p_sys
->
i_xoffset
=
__MAX
(
newval
.
i_int
,
0
);
vlc_mutex_unlock
(
&
p_sys
->
lock
);
...
...
@@ -790,7 +790,7 @@ static int MosaicCallback( vlc_object_t *p_this, char const *psz_var,
else
if
(
!
strcmp
(
psz_var
,
"mosaic-yoffset"
)
)
{
vlc_mutex_lock
(
&
p_sys
->
lock
);
msg_Dbg
(
p_this
,
"
C
hanging y offset from %dpx to %dpx"
,
msg_Dbg
(
p_this
,
"
c
hanging y offset from %dpx to %dpx"
,
p_sys
->
i_yoffset
,
newval
.
i_int
);
p_sys
->
i_yoffset
=
__MAX
(
newval
.
i_int
,
0
);
vlc_mutex_unlock
(
&
p_sys
->
lock
);
...
...
@@ -804,7 +804,7 @@ static int MosaicCallback( vlc_object_t *p_this, char const *psz_var,
newval
.
i_int
=
5
;
while
(
pi_align_values
[
i_old
]
!=
p_sys
->
i_align
)
i_old
++
;
while
(
pi_align_values
[
i_new
]
!=
newval
.
i_int
)
i_new
++
;
msg_Dbg
(
p_this
,
"
C
hanging alignment from %d (%s) to %d (%s)"
,
msg_Dbg
(
p_this
,
"
c
hanging alignment from %d (%s) to %d (%s)"
,
p_sys
->
i_align
,
ppsz_align_descriptions
[
i_old
],
newval
.
i_int
,
ppsz_align_descriptions
[
i_new
]
);
p_sys
->
i_align
=
newval
.
i_int
;
...
...
@@ -813,7 +813,7 @@ static int MosaicCallback( vlc_object_t *p_this, char const *psz_var,
else
if
(
!
strcmp
(
psz_var
,
"mosaic-vborder"
)
)
{
vlc_mutex_lock
(
&
p_sys
->
lock
);
msg_Dbg
(
p_this
,
"
C
hanging vertical border from %dpx to %dpx"
,
msg_Dbg
(
p_this
,
"
c
hanging vertical border from %dpx to %dpx"
,
p_sys
->
i_vborder
,
newval
.
i_int
);
p_sys
->
i_vborder
=
__MAX
(
newval
.
i_int
,
0
);
vlc_mutex_unlock
(
&
p_sys
->
lock
);
...
...
@@ -821,7 +821,7 @@ static int MosaicCallback( vlc_object_t *p_this, char const *psz_var,
else
if
(
!
strcmp
(
psz_var
,
"mosaic-hborder"
)
)
{
vlc_mutex_lock
(
&
p_sys
->
lock
);
msg_Dbg
(
p_this
,
"
C
hanging horizontal border from %dpx to %dpx"
,
msg_Dbg
(
p_this
,
"
c
hanging horizontal border from %dpx to %dpx"
,
p_sys
->
i_vborder
,
newval
.
i_int
);
p_sys
->
i_hborder
=
__MAX
(
newval
.
i_int
,
0
);
vlc_mutex_unlock
(
&
p_sys
->
lock
);
...
...
@@ -835,7 +835,7 @@ static int MosaicCallback( vlc_object_t *p_this, char const *psz_var,
else
{
vlc_mutex_lock
(
&
p_sys
->
lock
);
msg_Dbg
(
p_this
,
"
C
hanging position method from %d (%s) to %d (%s)"
,
msg_Dbg
(
p_this
,
"
c
hanging position method from %d (%s) to %d (%s)"
,
p_sys
->
i_position
,
ppsz_pos_descriptions
[
p_sys
->
i_position
],
newval
.
i_int
,
ppsz_pos_descriptions
[
newval
.
i_int
]);
p_sys
->
i_position
=
newval
.
i_int
;
...
...
@@ -845,7 +845,7 @@ static int MosaicCallback( vlc_object_t *p_this, char const *psz_var,
else
if
(
!
strcmp
(
psz_var
,
"mosaic-rows"
)
)
{
vlc_mutex_lock
(
&
p_sys
->
lock
);
msg_Dbg
(
p_this
,
"
C
hanging number of rows from %d to %d"
,
msg_Dbg
(
p_this
,
"
c
hanging number of rows from %d to %d"
,
p_sys
->
i_rows
,
newval
.
i_int
);
p_sys
->
i_rows
=
__MAX
(
newval
.
i_int
,
1
);
vlc_mutex_unlock
(
&
p_sys
->
lock
);
...
...
@@ -853,7 +853,7 @@ static int MosaicCallback( vlc_object_t *p_this, char const *psz_var,
else
if
(
!
strcmp
(
psz_var
,
"mosaic-cols"
)
)
{
vlc_mutex_lock
(
&
p_sys
->
lock
);
msg_Dbg
(
p_this
,
"
C
hanging number of columns from %d to %d"
,
msg_Dbg
(
p_this
,
"
c
hanging number of columns from %d to %d"
,
p_sys
->
i_cols
,
newval
.
i_int
);
p_sys
->
i_cols
=
__MAX
(
newval
.
i_int
,
1
);
vlc_mutex_unlock
(
&
p_sys
->
lock
);
...
...
@@ -863,12 +863,12 @@ static int MosaicCallback( vlc_object_t *p_this, char const *psz_var,
vlc_mutex_lock
(
&
p_sys
->
lock
);
if
(
newval
.
i_int
)
{
msg_Dbg
(
p_this
,
"
Keep
aspect ratio"
);
msg_Dbg
(
p_this
,
"
keeping
aspect ratio"
);
p_sys
->
b_ar
=
1
;
}
else
{
msg_Dbg
(
p_this
,
"
D
on't keep aspect ratio"
);
msg_Dbg
(
p_this
,
"
w
on't keep aspect ratio"
);
p_sys
->
b_ar
=
0
;
}
vlc_mutex_unlock
(
&
p_sys
->
lock
);
...
...
modules/video_filter/motiondetect.c
View file @
778a77df
...
...
@@ -53,9 +53,9 @@ static int SendEvents ( vlc_object_t *, char const *,
* Module descriptor
*****************************************************************************/
#define DESC_TEXT N_("Description file")
#define DESC_LONGTEXT N_("
Description file, file containing
simple playlist")
#define DESC_LONGTEXT N_("
A file containing a
simple playlist")
#define HISTORY_TEXT N_("History parameter")
#define HISTORY_LONGTEXT N_("
History parameter, number of frames used for detection
")
#define HISTORY_LONGTEXT N_("
The umber of frames used for detection.
")
vlc_module_begin
();
set_description
(
_
(
"Motion detect video filter"
)
);
...
...
@@ -162,7 +162,7 @@ static int Create( vlc_object_t *p_this )
p_file
=
utf8_fopen
(
psz_descfilename
,
"r"
);
if
(
!
p_file
)
{
msg_Err
(
p_this
,
"Failed to open descri
tp
ion file %s"
,
msg_Err
(
p_this
,
"Failed to open descri
pt
ion file %s"
,
psz_descfilename
);
free
(
psz_descfilename
);
free
(
p_vout
->
p_sys
);
...
...
modules/video_filter/osdmenu.c
View file @
778a77df
...
...
@@ -114,7 +114,7 @@ vlc_module_begin();
OSD_UPDATE_LONGTEXT
,
VLC_TRUE
);
set_capability
(
"sub filter"
,
100
);
set_description
(
N_
(
"On Screen Display menu
subfilter
"
)
);
set_description
(
N_
(
"On Screen Display menu"
)
);
set_shortname
(
N_
(
"OSD menu"
)
);
add_shortcut
(
"osdmenu"
);
/*
...
...
modules/video_filter/rss.c
View file @
778a77df
...
...
@@ -120,8 +120,8 @@ struct filter_sys_t
#define MSG_TEXT N_("Feed URLs")
#define MSG_LONGTEXT N_("RSS/Atom feed '|' (pipe) seperated URLs.")
#define SPEED_TEXT N_("
Feeds speed
")
#define SPEED_LONGTEXT N_("
RSS/Atom feeds speed
(bigger is slower).")
#define SPEED_TEXT N_("
Speed of feeds
")
#define SPEED_LONGTEXT N_("
Speed of the RSS/Atom feeds
(bigger is slower).")
#define LENGTH_TEXT N_("Max length")
#define LENGTH_LONGTEXT N_("Maximum number of characters displayed on the " \
"screen." )
...
...
@@ -137,7 +137,7 @@ struct filter_sys_t
#define POSY_LONGTEXT N_("Y offset, down from the top." )
#define OPACITY_TEXT N_("Opacity")
#define OPACITY_LONGTEXT N_("Opacity (inverse of transparency) of " \
"overlay text. 0 = transparent, 255 = totally opaque.
" )
"overlay text. 0 = transparent, 255 = totally opaque." )
#define SIZE_TEXT N_("Font size, pixels")
#define SIZE_LONGTEXT N_("Font size, in pixels. Default is -1 (use default " \
...
...
@@ -152,7 +152,7 @@ struct filter_sys_t
#define POS_TEXT N_("Text position")
#define POS_LONGTEXT N_( \
"You can enforce the text position on the video " \
"(0=center, 1=left, 2=right, 4=top, 8=bottom
,
you can " \
"(0=center, 1=left, 2=right, 4=top, 8=bottom
;
you can " \
"also use combinations of these values, eg 6 = top-right).")
static
int
pi_pos_values
[]
=
{
0
,
1
,
2
,
4
,
8
,
5
,
6
,
9
,
10
};
...
...
@@ -626,7 +626,7 @@ static int FetchRSS( filter_t *p_filter)
p_feed
->
i_items
=
0
;
p_feed
->
p_items
=
NULL
;
msg_Dbg
(
p_filter
,
"
O
pening %s RSS/Atom feed ..."
,
psz_feed
);
msg_Dbg
(
p_filter
,
"
o
pening %s RSS/Atom feed ..."
,
psz_feed
);
p_stream
=
stream_UrlNew
(
p_filter
,
psz_feed
);
if
(
!
p_stream
)
...
...
@@ -666,7 +666,7 @@ static int FetchRSS( filter_t *p_filter)
return
1
;
}
# ifdef RSS_DEBUG
msg_Dbg
(
p_filter
,
"element name
: %s"
,
psz_eltname
);
msg_Dbg
(
p_filter
,
"element name: %s"
,
psz_eltname
);
# endif
if
(
!
strcmp
(
psz_eltname
,
"item"
)
/* rss */
||
!
strcmp
(
psz_eltname
,
"entry"
)
)
/* atom */
...
...
@@ -862,7 +862,7 @@ static int FetchRSS( filter_t *p_filter)
if
(
p_xml_reader
&&
p_xml
)
xml_ReaderDelete
(
p_xml
,
p_xml_reader
);
if
(
p_stream
)
stream_Delete
(
p_stream
);
msg_Dbg
(
p_filter
,
"
Done with %s RSS/Atom feed.
"
,
psz_feed
);
msg_Dbg
(
p_filter
,
"
done with %s RSS/Atom feed
"
,
psz_feed
);
}
free
(
psz_buffer_2
);
if
(
p_xml
)
xml_Delete
(
p_xml
);
...
...
modules/video_filter/time.c
View file @
778a77df
...
...
@@ -69,14 +69,14 @@ struct filter_sys_t
};
#define MSG_TEXT N_("Time format string (%Y%m%d %H%M%S)")
#define MSG_LONGTEXT N_("Time format string (%Y = year, %m = month, %d = day, %H = hour, %M = minute, %S = second")
#define MSG_LONGTEXT N_("Time format string (%Y = year, %m = month, %d = day, %H = hour, %M = minute, %S = second
).
")
#define POSX_TEXT N_("X offset")
#define POSX_LONGTEXT N_("X offset, from the left screen edge" )
#define POSY_TEXT N_("Y offset")
#define POSY_LONGTEXT N_("Y offset, down from the top" )
#define OPACITY_TEXT N_("Opacity")
#define OPACITY_LONGTEXT N_("Opacity (inverse of transparency) of " \
"overlay text. 0 = transparent, 255 = totally opaque.
" )
"overlay text. 0 = transparent, 255 = totally opaque." )
#define SIZE_TEXT N_("Font size, pixels")
#define SIZE_LONGTEXT N_("Font size, in pixels. Default is -1 (use default " \
...
...
@@ -92,7 +92,7 @@ struct filter_sys_t
#define POS_LONGTEXT N_( \
"You can enforce the text position on the video " \
"(0=center, 1=left, 2=right, 4=top, 8=bottom, you can " \
"also use combinations of these values, e
g
6 = top-right).")
"also use combinations of these values, e
.g.
6 = top-right).")
static
int
pi_pos_values
[]
=
{
0
,
1
,
2
,
4
,
8
,
5
,
6
,
9
,
10
};
static
char
*
ppsz_pos_descriptions
[]
=
...
...
modules/video_output/aa.c
View file @
778a77df
...
...
@@ -52,7 +52,7 @@ static void SetPalette ( vout_thread_t *, uint16_t *, uint16_t *, uint16_t *
* Module descriptor
*****************************************************************************/
vlc_module_begin
();
set_shortname
(
_
(
"A
scii
Art"
));
set_shortname
(
_
(
"A
SCII
Art"
));
set_category
(
CAT_VIDEO
);
set_subcategory
(
SUBCAT_VIDEO_VOUT
);
set_description
(
_
(
"ASCII-art video output"
)
);
...
...
modules/video_output/directx/directx.c
View file @
778a77df
...
...
@@ -907,7 +907,7 @@ BOOL WINAPI DirectXEnumCallback( GUID* p_guid, LPTSTR psz_desc,
{
rect
.
left
=
monitor_info
.
rcWork
.
left
;
rect
.
top
=
monitor_info
.
rcWork
.
top
;
msg_Dbg
(
p_vout
,
"DirectXEnumCallback:
S
etting window "
msg_Dbg
(
p_vout
,
"DirectXEnumCallback:
s
etting window "
"position to %d,%d"
,
rect
.
left
,
rect
.
top
);
SetWindowPos
(
p_vout
->
p_sys
->
hwnd
,
NULL
,
rect
.
left
,
rect
.
top
,
0
,
0
,
...
...
modules/video_output/directx/events.c
View file @
778a77df
...
...
@@ -820,9 +820,9 @@ static long FAR PASCAL DirectXEventProc( HWND hwnd, UINT message,
(
LPVOID
)
p_vout
);
/* send p_vout to WM_CREATE */
if
(
!
p_vout
->
p_sys
->
hvideownd
)
msg_Warn
(
p_vout
,
"
C
an't create video sub-window"
);
msg_Warn
(
p_vout
,
"
c
an't create video sub-window"
);
else
msg_Dbg
(
p_vout
,
"
C
reated video sub-window"
);
msg_Dbg
(
p_vout
,
"
c
reated video sub-window"
);
break
;
case
WM_PAINT
:
...
...
modules/video_output/directx/glwin32.c
View file @
778a77df
...
...
@@ -222,7 +222,7 @@ static void CloseVideo( vlc_object_t *p_this )
{
vout_thread_t
*
p_vout
=
(
vout_thread_t
*
)
p_this
;
msg_Dbg
(
p_vout
,
"
CloseV
ideo"
);
msg_Dbg
(
p_vout
,
"
closing v
ideo"
);
if
(
p_vout
->
p_sys
->
p_event
)
{
...
...
modules/video_output/ggi.c
View file @
778a77df
...
...
@@ -530,7 +530,7 @@ static void SetPalette( vout_thread_t *p_vout,
/* Set palette */
if
(
ggiSetPalette
(
p_vout
->
p_sys
->
p_display
,
0
,
256
,
colors
)
<
0
)
{
msg_Err
(
p_vout
,
"failed
setting
palette"
);
msg_Err
(
p_vout
,
"failed
to set
palette"
);
}
}
modules/video_output/opengl.c
View file @
778a77df
...
...
@@ -121,7 +121,7 @@ static int SendEvents( vlc_object_t *, char const *,
#define EFFECT_TEXT N_("Effect")
#define EFFECT_LONGTEXT N_( \
"Several
OpenGL visual
effects are available." )
"Several
visual OpenGL
effects are available." )
static
char
*
ppsz_effects
[]
=
{
"none"
,
"cube"
,
"transparent-cube"
};
...
...
@@ -314,14 +314,14 @@ static int Init( vout_thread_t *p_vout )
malloc
(
p_sys
->
i_tex_width
*
p_sys
->
i_tex_height
*
i_pixel_pitch
);
if
(
!
p_sys
->
pp_buffer
[
0
]
)
{
msg_Err
(
p_vout
,
"
O
ut of memory"
);
msg_Err
(
p_vout
,
"
o
ut of memory"
);
return
-
1
;
}
p_sys
->
pp_buffer
[
1
]
=
malloc
(
p_sys
->
i_tex_width
*
p_sys
->
i_tex_height
*
i_pixel_pitch
);
if
(
!
p_sys
->
pp_buffer
[
1
]
)
{
msg_Err
(
p_vout
,
"
O
ut of memory"
);
msg_Err
(
p_vout
,
"
o
ut of memory"
);
return
-
1
;
}
...
...
modules/video_output/qte/qte.cpp
View file @
778a77df
...
...
@@ -531,7 +531,7 @@ static int OpenDisplay( vout_thread_t *p_vout )
p_vout->i_window_height = p_vout->p_sys->i_height;
#endif
msg_Dbg
(
p_vout
,
"
OpenD
isplay (h=%d,w=%d)"
,
p_vout
->
p_sys
->
i_height
,
p_vout
->
p_sys
->
i_width
);
msg_Dbg
(
p_vout
,
"
opening d
isplay (h=%d,w=%d)"
,
p_vout
->
p_sys
->
i_height
,
p_vout
->
p_sys
->
i_width
);
/* create thread to exec the qpe application */
if
(
vlc_thread_create
(
p_vout
->
p_sys
->
p_event
,
"QT Embedded Thread"
,
...
...
@@ -589,7 +589,7 @@ static void CloseDisplay( vout_thread_t *p_vout )
*****************************************************************************/
static
void
RunQtThread
(
event_thread_t
*
p_event
)
{
msg_Dbg
(
p_event
->
p_vout
,
"RunQtThread
S
tarting"
);
msg_Dbg
(
p_event
->
p_vout
,
"RunQtThread
s
tarting"
);
#ifdef NEED_QTE_MAIN
if
(
qApp
)
...
...
modules/video_output/sdl.c
View file @
778a77df
...
...
@@ -930,7 +930,7 @@ static void SetPalette( vout_thread_t *p_vout,
/* Set palette */
if
(
SDL_SetColors
(
p_vout
->
p_sys
->
p_display
,
colors
,
0
,
256
)
==
0
)
{
msg_Err
(
p_vout
,
"failed
setting
palette"
);
msg_Err
(
p_vout
,
"failed
to set
palette"
);
}
}
modules/video_output/snapshot.c
View file @
778a77df
...
...
@@ -72,7 +72,7 @@ static void Display ( vout_thread_t *, picture_t * );
vlc_module_begin
(
);
set_description
(
_
(
"
s
napshot module"
)
);
set_description
(
_
(
"
S
napshot module"
)
);
set_shortname
(
N_
(
"Snapshot"
)
);
set_category
(
CAT_VIDEO
);
...
...
@@ -150,7 +150,7 @@ static int Init( vout_thread_t *p_vout )
{
if
(
strlen
(
psz_chroma
)
<
4
)
{
msg_Err
(
p_vout
,
"snapshot-chroma should be 4 characters long
.
"
);
msg_Err
(
p_vout
,
"snapshot-chroma should be 4 characters long"
);
return
VLC_EGENERIC
;
}
i_chroma
=
VLC_FOURCC
(
psz_chroma
[
0
],
psz_chroma
[
1
],
...
...
modules/video_output/x11/glx.c
View file @
778a77df
...
...
@@ -86,7 +86,7 @@ static void SwitchContext( vout_thread_t * );
*****************************************************************************/
#define ADAPTOR_TEXT N_("XVideo adaptor number")
#define ADAPTOR_LONGTEXT N_( \
"If you graphics card provides several adaptors, you have " \
"If you
r
graphics card provides several adaptors, you have " \
"to choose which one will be used (you shouldn't have to change this).")
#define ALT_FS_TEXT N_("Alternate fullscreen method")
...
...
@@ -187,7 +187,7 @@ static int CheckGLX( vlc_object_t *p_this, vlc_bool_t *b_glx13 )
p_display
=
XOpenDisplay
(
NULL
);
if
(
p_display
==
NULL
)
{
msg_Err
(
p_this
,
"
C
annot open display"
);
msg_Err
(
p_this
,
"
c
annot open display"
);
return
VLC_EGENERIC
;
}
...
...
@@ -215,12 +215,12 @@ static int CheckGLX( vlc_object_t *p_this, vlc_bool_t *b_glx13 )
if
(
i_maj
<=
0
||
((
i_maj
==
1
)
&&
(
i_min
<
3
))
)
{
*
b_glx13
=
VLC_FALSE
;
msg_Dbg
(
p_this
,
"
U
sing GLX 1.2 API"
);
msg_Dbg
(
p_this
,
"
u
sing GLX 1.2 API"
);
}
else
{
*
b_glx13
=
VLC_TRUE
;
msg_Dbg
(
p_this
,
"
U
sing GLX 1.3 API"
);
msg_Dbg
(
p_this
,
"
u
sing GLX 1.3 API"
);
}
XCloseDisplay
(
p_display
);
...
...
modules/video_output/x11/xcommon.c
View file @
778a77df
...
...
@@ -1314,7 +1314,7 @@ static int NewPicture( vout_thread_t *p_vout, picture_t *p_pic )
#ifdef HAVE_SYS_SHM_H
if
(
p_pic
->
p_sys
->
p_image
&&
p_vout
->
p_sys
->
b_shm
)
{
msg_Warn
(
p_vout
,
"couldn't create SHM image, disabling SHM
.
"
);
msg_Warn
(
p_vout
,
"couldn't create SHM image, disabling SHM"
);
p_vout
->
p_sys
->
b_shm
=
VLC_FALSE
;
}
#endif
/* HAVE_SYS_SHM_H */
...
...
modules/video_output/x11/xvideo.c
View file @
778a77df
...
...
@@ -43,7 +43,7 @@ extern void E_(Deactivate) ( vlc_object_t * );
*****************************************************************************/
#define ADAPTOR_TEXT N_("XVideo adaptor number")
#define ADAPTOR_LONGTEXT N_( \
"If you graphics card provides several adaptors, you need to choose " \
"If you
r
graphics card provides several adaptors, you need to choose " \
"which one will be used (you shouldn't have to change this).")
#define ALT_FS_TEXT N_("Alternate fullscreen method")
...
...
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