[MPlayer-cvslog] CVS: main/libvo vo_xv.c,1.163,1.164

Jindrich Makovicka CVS syncmail at mplayerhq.hu
Sat Apr 16 19:10:33 CEST 2005


CVS change done by Jindrich Makovicka CVS

Update of /cvsroot/mplayer/main/libvo
In directory mail:/var2/tmp/cvs-serv17262

Modified Files:
	vo_xv.c 
Log Message:
more colorkey w/ panscan woes

Index: vo_xv.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_xv.c,v
retrieving revision 1.163
retrieving revision 1.164
diff -u -r1.163 -r1.164
--- vo_xv.c	16 Apr 2005 16:45:43 -0000	1.163
+++ vo_xv.c	16 Apr 2005 17:10:31 -0000	1.164
@@ -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)




More information about the MPlayer-cvslog mailing list