diff options
author | henry <henry@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-04-16 17:10:31 +0000 |
---|---|---|
committer | henry <henry@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-04-16 17:10:31 +0000 |
commit | fa7fe564bbea6f8c763f51458ed89123fff5a3be (patch) | |
tree | 3b3315d3b691d50a51fb24085abca08cf5603d0d /libvo/vo_xv.c | |
parent | 4ad21b2d7e868b1a885a116f5c3bf9ce97acb9cc (diff) | |
download | mpv-fa7fe564bbea6f8c763f51458ed89123fff5a3be.tar.bz2 mpv-fa7fe564bbea6f8c763f51458ed89123fff5a3be.tar.xz |
more colorkey w/ panscan woes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15193 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_xv.c')
-rw-r--r-- | libvo/vo_xv.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libvo/vo_xv.c b/libvo/vo_xv.c index 0870152a95..4d41f4862d 100644 --- a/libvo/vo_xv.c +++ b/libvo/vo_xv.c @@ -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) |