summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorfaust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-10-14 22:28:19 +0000
committerfaust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-10-14 22:28:19 +0000
commitc27f7192370cff9c70b84fed7f6904015db60c34 (patch)
tree5d654a080bac86960cc0c8a74f44a6ed4b10028a /libvo
parentaa16036d1007d7b964612490ca359be9465f2630 (diff)
downloadmpv-c27f7192370cff9c70b84fed7f6904015db60c34.tar.bz2
mpv-c27f7192370cff9c70b84fed7f6904015db60c34.tar.xz
Honour differences between src and dst stride for packed yuv
patch by Laurent <laurent.aml at gmail.com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27772 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_directx.c2
1 files changed, 1 insertions, 1 deletions
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;
}