mirror of
https://github.com/mpv-player/mpv
synced 2025-01-04 05:52:09 +00:00
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
This commit is contained in:
parent
aa16036d10
commit
c27f719237
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user