# HG changeset patch # User henry # Date 1113671431 0 # Node ID 6b17eed33bdcd1ed81980bb0e74ad8470bbe075f # Parent 7eab9c86ae1984b8392fa62f54e9d3b65b9e3601 more colorkey w/ panscan woes diff -r 7eab9c86ae19 -r 6b17eed33bdc libvo/vo_xv.c --- a/libvo/vo_xv.c Sat Apr 16 16:48:15 2005 +0000 +++ b/libvo/vo_xv.c Sat Apr 16 17:10:31 2005 +0000 @@ -578,7 +578,10 @@ 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)