Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
163fe44a
Commit
163fe44a
authored
Feb 01, 2008
by
Ilkka Ollakka
Browse files
fix align setting, p_spu->p_region is null there
parent
71ff7a2a
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/video_filter/logo.c
View file @
163fe44a
...
...
@@ -886,12 +886,12 @@ static subpicture_t *Filter( filter_t *p_filter, mtime_t date )
/* where to locate the logo: */
if
(
p_sys
->
pos
<
0
)
{
/* set to an absolute xy */
p_spu
->
p_region
->
i_align
=
OSD_ALIGN_RIGHT
|
OSD_ALIGN_TOP
;
p_region
->
i_align
=
OSD_ALIGN_RIGHT
|
OSD_ALIGN_TOP
;
p_spu
->
b_absolute
=
VLC_TRUE
;
}
else
{
/* set to one of the 9 relative locations */
p_spu
->
p_region
->
i_align
=
p_sys
->
pos
;
p_region
->
i_align
=
p_sys
->
pos
;
p_spu
->
b_absolute
=
VLC_FALSE
;
}
...
...
Write
Preview
Supports
Markdown
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