diff options
author | 2008-10-14 22:28:19 +0000 | |
---|---|---|
committer | 2008-10-14 22:28:19 +0000 | |
commit | c27f7192370cff9c70b84fed7f6904015db60c34 (patch) | |
tree | 5d654a080bac86960cc0c8a74f44a6ed4b10028a | |
parent | aa16036d1007d7b964612490ca359be9465f2630 (diff) |
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
-rw-r--r-- | libvo/vo_directx.c | 2 |
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; } |