Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
ddada0ed
Commit
ddada0ed
authored
May 30, 2007
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Small cleanup.
parent
bfefee70
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
modules/video_filter/osdmenu.c
modules/video_filter/osdmenu.c
+10
-10
No files found.
modules/video_filter/osdmenu.c
View file @
ddada0ed
...
@@ -201,18 +201,18 @@ static int CreateFilter ( vlc_object_t *p_this )
...
@@ -201,18 +201,18 @@ static int CreateFilter ( vlc_object_t *p_this )
/* Check if menu position was overridden */
/* Check if menu position was overridden */
p_filter
->
p_sys
->
b_absolute
=
VLC_TRUE
;
p_filter
->
p_sys
->
b_absolute
=
VLC_TRUE
;
if
(
i_posx
<
0
||
i_posy
<
0
)
if
(
(
i_posx
<
0
)
||
(
i_posy
<
0
)
)
{
{
p_filter
->
p_sys
->
b_absolute
=
VLC_FALSE
;
p_filter
->
p_sys
->
b_absolute
=
VLC_FALSE
;
p_filter
->
p_sys
->
p_menu
->
i_x
=
0
;
p_filter
->
p_sys
->
p_menu
->
i_x
=
0
;
p_filter
->
p_sys
->
p_menu
->
i_y
=
0
;
p_filter
->
p_sys
->
p_menu
->
i_y
=
0
;
}
}
else
if
(
i_posx
>=
0
||
i_posy
>=
0
)
else
if
(
(
i_posx
>=
0
)
||
(
i_posy
>=
0
)
)
{
{
p_filter
->
p_sys
->
p_menu
->
i_x
=
i_posx
;
p_filter
->
p_sys
->
p_menu
->
i_x
=
i_posx
;
p_filter
->
p_sys
->
p_menu
->
i_y
=
i_posy
;
p_filter
->
p_sys
->
p_menu
->
i_y
=
i_posy
;
}
}
else
if
(
p_filter
->
p_sys
->
p_menu
->
i_x
<
0
||
p_filter
->
p_sys
->
p_menu
->
i_y
<
0
)
else
if
(
(
p_filter
->
p_sys
->
p_menu
->
i_x
<
0
)
||
(
p_filter
->
p_sys
->
p_menu
->
i_y
<
0
)
)
{
{
p_filter
->
p_sys
->
b_absolute
=
VLC_FALSE
;
p_filter
->
p_sys
->
b_absolute
=
VLC_FALSE
;
p_filter
->
p_sys
->
p_menu
->
i_x
=
0
;
p_filter
->
p_sys
->
p_menu
->
i_x
=
0
;
...
...
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