Mercurial > mplayer.hg
changeset 6876:49485d9f0d47
imho swscale also likes aligned stride :)
author | arpi |
---|---|
date | Fri, 02 Aug 2002 22:57:58 +0000 |
parents | 255b150a75a5 |
children | d92bd0cee112 |
files | libmpcodecs/vf_scale.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/vf_scale.c Fri Aug 02 22:55:54 2002 +0000 +++ b/libmpcodecs/vf_scale.c Fri Aug 02 22:57:58 2002 +0000 @@ -171,7 +171,7 @@ // hope we'll get DR buffer: dmpi=vf_get_image(vf->next,vf->priv->fmt, - MP_IMGTYPE_TEMP, MP_IMGFLAG_ACCEPT_STRIDE, + MP_IMGTYPE_TEMP, MP_IMGFLAG_ACCEPT_STRIDE | MP_IMGFLAG_PREFER_ALIGNED_STRIDE, vf->priv->w, vf->priv->h); vf->priv->ctx->swScale(vf->priv->ctx,mpi->planes,mpi->stride,0,mpi->h,dmpi->planes,dmpi->stride);