mirror of
https://github.com/mpv-player/mpv
synced 2025-03-04 21:27:58 +00:00
more colorkey w/ panscan woes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15193 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
4ad21b2d7e
commit
fa7fe564bb
@ -578,7 +578,10 @@ static void check_events(void)
|
||||
|
||||
if (e & VO_EVENT_EXPOSE || e & VO_EVENT_RESIZE)
|
||||
{
|
||||
vo_xv_draw_colorkey(drwX,drwY,vo_dwidth,vo_dheight);
|
||||
vo_xv_draw_colorkey(drwX - (vo_panscan_x >> 1),
|
||||
drwY - (vo_panscan_y >> 1),
|
||||
vo_dwidth + vo_panscan_x - 1,
|
||||
vo_dheight + vo_panscan_y - 1);
|
||||
}
|
||||
|
||||
if ((e & VO_EVENT_EXPOSE || e & VO_EVENT_RESIZE) && int_pause)
|
||||
|
Loading…
Reference in New Issue
Block a user