[Mplayer-cvslog] CVS: main/libvo vo_mga.c,1.27,1.28
Arpi of Ize
arpi at mplayer.dev.hu
Sun Mar 24 21:55:11 CET 2002
Update of /cvsroot/mplayer/main/libvo
In directory mplayer:/var/tmp.root/cvs-serv28727
Modified Files:
vo_mga.c
Log Message:
U,V plane odrer fixed
Index: vo_mga.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_mga.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- vo_mga.c 7 Mar 2002 01:51:28 -0000 1.27
+++ vo_mga.c 24 Mar 2002 20:55:06 -0000 1.28
@@ -103,15 +103,12 @@
case IMGFMT_YV12:
width+=width&1;height+=height&1;
mga_vid_config.frame_size = ((width + 31) & ~31) * height + (((width + 31) & ~31) * height) / 2;
- mga_vid_config.format=MGA_VID_FORMAT_YV12; break;
- case IMGFMT_I420:
- width+=width&1;height+=height&1;
- mga_vid_config.frame_size = ((width + 31) & ~31) * height + (((width + 31) & ~31) * height) / 2;
mga_vid_config.format=MGA_VID_FORMAT_I420; break;
+ case IMGFMT_I420:
case IMGFMT_IYUV:
width+=width&1;height+=height&1;
mga_vid_config.frame_size = ((width + 31) & ~31) * height + (((width + 31) & ~31) * height) / 2;
- mga_vid_config.format=MGA_VID_FORMAT_IYUV; break;
+ mga_vid_config.format=MGA_VID_FORMAT_YV12; break;
case IMGFMT_YUY2:
mga_vid_config.frame_size = ((width + 31) & ~31) * height * 2;
mga_vid_config.format=MGA_VID_FORMAT_YUY2; break;
More information about the MPlayer-cvslog
mailing list