From c27f7192370cff9c70b84fed7f6904015db60c34 Mon Sep 17 00:00:00 2001 From: faust3 Date: Tue, 14 Oct 2008 22:28:19 +0000 Subject: [PATCH] Honour differences between src and dst stride for packed yuv patch by Laurent git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27772 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_directx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libvo/vo_directx.c b/libvo/vo_directx.c index b87c811b76..c41d71959a 100644 --- a/libvo/vo_directx.c +++ b/libvo/vo_directx.c @@ -1276,7 +1276,7 @@ static uint32_t put_image(mp_image_t *mpi){ } 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; }