mirror of https://github.com/mpv-player/mpv
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:
parent
d010698e43
commit
d3374e2065
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue