changeset 27738:c89a913b5d5e

Honour differences between src and dst stride for packed yuv patch by Laurent <laurent.aml at gmail.com>
author faust3
date Tue, 14 Oct 2008 22:28:19 +0000
parents 3bc7a4a22f2d
children c59e6672574e
files libvo/vo_directx.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;
 }