Commit a1bcc485 authored by Thomas Guillem's avatar Thomas Guillem

spu: logo: fix logo not displayed if pos x/y are -1

parent d127141f
......@@ -411,8 +411,8 @@ static subpicture_t *FilterSub( filter_t *p_filter, mtime_t date )
p_spu->b_absolute = false;
}
p_region->i_x = p_sys->i_pos_x;
p_region->i_y = p_sys->i_pos_y;
p_region->i_x = p_sys->i_pos_x > 0 ? p_sys->i_pos_x : 0;
p_region->i_y = p_sys->i_pos_y > 0 ? p_sys->i_pos_y : 0;
p_spu->p_region = p_region;
......
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