Commit ecf51c90 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Logo: Correction spotted by ILEoo and patched by Bernie Purcell.

parent f4faf992
...@@ -882,14 +882,14 @@ static subpicture_t *Filter( filter_t *p_filter, mtime_t date ) ...@@ -882,14 +882,14 @@ static subpicture_t *Filter( filter_t *p_filter, mtime_t date )
/* where to locate the logo: */ /* where to locate the logo: */
if( p_sys->posx < 0 || p_sys->posy < 0 ) if( p_sys->posx < 0 || p_sys->posy < 0 )
{ /* set to one of the 9 relative locations */ { /* 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->i_x = 0; p_spu->i_x = 0;
p_spu->i_y = 0; p_spu->i_y = 0;
p_spu->b_absolute = VLC_FALSE; p_spu->b_absolute = VLC_FALSE;
} }
else else
{ /* set to an absolute xy, referenced to upper left corner */ { /* set to an absolute xy, referenced to upper left corner */
p_spu->p_region->i_align = OSD_ALIGN_LEFT | OSD_ALIGN_TOP; p_region->i_align = OSD_ALIGN_LEFT | OSD_ALIGN_TOP;
p_spu->i_x = p_sys->posx; p_spu->i_x = p_sys->posx;
p_spu->i_y = p_sys->posy; p_spu->i_y = p_sys->posy;
p_spu->b_absolute = VLC_TRUE; p_spu->b_absolute = VLC_TRUE;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment