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
daf8622d
Commit
daf8622d
authored
Sep 29, 2005
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove trailing whitespace
parent
6882d773
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
modules/video_filter/osdmenu.c
modules/video_filter/osdmenu.c
+4
-4
No files found.
modules/video_filter/osdmenu.c
View file @
daf8622d
...
@@ -70,7 +70,7 @@
...
@@ -70,7 +70,7 @@
"Update the OSD menu picture every 200ms (default). Shorten the update time for " \
"Update the OSD menu picture every 200ms (default). Shorten the update time for " \
"environments that experience transmissions errors. Be carefull with this option " \
"environments that experience transmissions errors. Be carefull with this option " \
"because encoding OSD menu pictures is very computing intensive. The range is 0 - 1000 ms." )
"because encoding OSD menu pictures is very computing intensive. The range is 0 - 1000 ms." )
static
int
pi_pos_values
[]
=
{
0
,
1
,
2
,
4
,
8
,
5
,
6
,
9
,
10
};
static
int
pi_pos_values
[]
=
{
0
,
1
,
2
,
4
,
8
,
5
,
6
,
9
,
10
};
static
char
*
ppsz_pos_descriptions
[]
=
static
char
*
ppsz_pos_descriptions
[]
=
{
N_
(
"Center"
),
N_
(
"Left"
),
N_
(
"Right"
),
N_
(
"Top"
),
N_
(
"Bottom"
),
{
N_
(
"Center"
),
N_
(
"Left"
),
N_
(
"Right"
),
N_
(
"Top"
),
N_
(
"Bottom"
),
...
@@ -95,7 +95,7 @@ static int OSDMenuVisibleEvent( vlc_object_t *, char const *,
...
@@ -95,7 +95,7 @@ static int OSDMenuVisibleEvent( vlc_object_t *, char const *,
#define OSD_UPDATE_MIN 0
#define OSD_UPDATE_MIN 0
#define OSD_UPDATE_DEFAULT 0
#define OSD_UPDATE_DEFAULT 0
#define OSD_UPDATE_MAX 1000
#define OSD_UPDATE_MAX 1000
vlc_module_begin
();
vlc_module_begin
();
add_integer
(
OSD_CFG
"x"
,
-
1
,
NULL
,
POSX_TEXT
,
POSX_LONGTEXT
,
VLC_FALSE
);
add_integer
(
OSD_CFG
"x"
,
-
1
,
NULL
,
POSX_TEXT
,
POSX_LONGTEXT
,
VLC_FALSE
);
...
@@ -141,7 +141,7 @@ struct filter_sys_t
...
@@ -141,7 +141,7 @@ struct filter_sys_t
vlc_bool_t
b_visible
;
/* OSD Menu is visible */
vlc_bool_t
b_visible
;
/* OSD Menu is visible */
mtime_t
i_update
;
/* Update the OSD menu every n ms */
mtime_t
i_update
;
/* Update the OSD menu every n ms */
mtime_t
i_end_date
;
/* End data of display OSD menu */
mtime_t
i_end_date
;
/* End data of display OSD menu */
char
*
psz_file
;
/* OSD Menu configuration file */
char
*
psz_file
;
/* OSD Menu configuration file */
osd_menu_t
*
p_menu
;
/* pointer to OSD Menu object */
osd_menu_t
*
p_menu
;
/* pointer to OSD Menu object */
};
};
...
@@ -184,7 +184,7 @@ static int CreateFilter ( vlc_object_t *p_this )
...
@@ -184,7 +184,7 @@ static int CreateFilter ( vlc_object_t *p_this )
var_Create
(
p_this
,
OSD_CFG
"y"
,
VLC_VAR_INTEGER
|
VLC_VAR_DOINHERIT
);
var_Create
(
p_this
,
OSD_CFG
"y"
,
VLC_VAR_INTEGER
|
VLC_VAR_DOINHERIT
);
var_Get
(
p_this
,
OSD_CFG
"y"
,
&
val
);
var_Get
(
p_this
,
OSD_CFG
"y"
,
&
val
);
i_posy
=
val
.
i_int
;
i_posy
=
val
.
i_int
;
/* in micro seconds - divide by 2 to match user expectations */
/* in micro seconds - divide by 2 to match user expectations */
var_Create
(
p_this
,
OSD_CFG
"timeout"
,
VLC_VAR_INTEGER
|
VLC_VAR_DOINHERIT
);
var_Create
(
p_this
,
OSD_CFG
"timeout"
,
VLC_VAR_INTEGER
|
VLC_VAR_DOINHERIT
);
var_Get
(
p_this
,
OSD_CFG
"timeout"
,
&
val
);
var_Get
(
p_this
,
OSD_CFG
"timeout"
,
&
val
);
...
...
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