imho swscale also likes aligned stride :)

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6877 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi 2002-08-02 22:57:58 +00:00
parent d010698e43
commit d3374e2065
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ static void put_image(struct vf_instance_s* vf, mp_image_t *mpi){
// 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);