Mercurial > mplayer.hg
changeset 15192:6b17eed33bdc
more colorkey w/ panscan woes
author | henry |
---|---|
date | Sat, 16 Apr 2005 17:10:31 +0000 |
parents | 7eab9c86ae19 |
children | 35dc89f609f0 |
files | libvo/vo_xv.c |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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)