[Mplayer-cvslog] CVS: main/libvo vo_dga.c,1.48,1.49
Arpi of Ize
arpi at mplayerhq.hu
Wed Sep 25 23:41:44 CEST 2002
Update of /cvsroot/mplayer/main/libvo
In directory mail:/var/tmp.root/cvs-serv11307
Modified Files:
vo_dga.c
Log Message:
fixes problem with video image alignment.
patch by Fredrik Noring <noring at nocrew.org>
Index: vo_dga.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_dga.c,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -r1.48 -r1.49
--- vo_dga.c 25 Sep 2002 21:18:43 -0000 1.48
+++ vo_dga.c 25 Sep 2002 21:41:42 -0000 1.49
@@ -298,7 +298,7 @@
offset = vo_dga_width * y0 +x0;
buffer_stride = vo_dga_width;
- d = VIDEO_BUFFER_DRAW.data;
+ d = VIDEO_BUFFER_DRAW.data + vo_dga_vp_offset;
switch( HW_MODE.vdm_mplayer_depth ){
@@ -345,7 +345,7 @@
char *s, *d;
s = *src;
- d = VIDEO_BUFFER_DRAW.data;
+ d = VIDEO_BUFFER_DRAW.data + vo_dga_vp_offset;
switch(SRC_MODE.vdm_conversion_func){
case VDM_CONV_NATIVE:
@@ -360,7 +360,7 @@
// DBG-COde
#if 0
- d = VIDEO_BUFFER_DRAW.data;
+ d = VIDEO_BUFFER_DRAW.data + vo_dga_vp_offset;
fillblock(d, 0, 10, 0x800000ff);
fillblock(d, 10, 10, 0x8000ff00);
fillblock(d, 20, 10, 0x80ff0000);
More information about the MPlayer-cvslog
mailing list