[MPlayer-cvslog] r27772 - trunk/libvo/vo_directx.c
faust3
subversion at mplayerhq.hu
Wed Oct 15 00:28:19 CEST 2008
Author: faust3
Date: Wed Oct 15 00:28:19 2008
New Revision: 27772
Log:
Honour differences between src and dst stride for packed yuv
patch by Laurent <laurent.aml at gmail.com>
Modified:
trunk/libvo/vo_directx.c
Modified: trunk/libvo/vo_directx.c
==============================================================================
--- trunk/libvo/vo_directx.c (original)
+++ trunk/libvo/vo_directx.c Wed Oct 15 00:28:19 2008
@@ -1276,7 +1276,7 @@ static uint32_t put_image(mp_image_t *mp
}
else //packed
{
- fast_memcpy( image, mpi->planes[0], image_height * dstride);
+ mem2agpcpy_pic(image, mpi->planes[0], w * (mpi->bpp / 8), h, dstride, mpi->stride[0]);
}
return VO_TRUE;
}
More information about the MPlayer-cvslog
mailing list