# HG changeset patch # User faust3 # Date 1224023299 0 # Node ID c89a913b5d5e8fbf8f60e092b0a71846abe8ff68 # Parent 3bc7a4a22f2d9c44e970402953c5fd0834ed1ced Honour differences between src and dst stride for packed yuv patch by Laurent diff -r 3bc7a4a22f2d -r c89a913b5d5e libvo/vo_directx.c --- a/libvo/vo_directx.c Tue Oct 14 21:41:25 2008 +0000 +++ b/libvo/vo_directx.c Tue Oct 14 22:28:19 2008 +0000 @@ -1276,7 +1276,7 @@ } 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; }