Mercurial > mplayer.hg
diff libmpcodecs/vf_spp.c @ 16018:bdf1b4ecb906
use stored dimensions instead of visible one when (vf_)get_image is called
let's see where does the cola goes :)
author | iive |
---|---|
date | Wed, 20 Jul 2005 01:22:24 +0000 |
parents | 6ca3e46894b6 |
children | 6ff3379a0862 |
line wrap: on
line diff
--- a/libmpcodecs/vf_spp.c Tue Jul 19 22:03:15 2005 +0000 +++ b/libmpcodecs/vf_spp.c Wed Jul 20 01:22:24 2005 +0000 @@ -453,7 +453,7 @@ if(mpi->flags&MP_IMGFLAG_PRESERVE) return; // don't change // ok, we can do pp in-place (or pp disabled): vf->dmpi=vf_get_image(vf->next,mpi->imgfmt, - mpi->type, mpi->flags | MP_IMGFLAG_READABLE, mpi->w, mpi->h); + mpi->type, mpi->flags | MP_IMGFLAG_READABLE, mpi->width, mpi->height); mpi->planes[0]=vf->dmpi->planes[0]; mpi->stride[0]=vf->dmpi->stride[0]; mpi->width=vf->dmpi->width; @@ -474,7 +474,7 @@ dmpi=vf_get_image(vf->next,mpi->imgfmt, MP_IMGTYPE_TEMP, MP_IMGFLAG_ACCEPT_STRIDE|MP_IMGFLAG_PREFER_ALIGNED_STRIDE, - mpi->w,mpi->h); + mpi->width,mpi->height); vf_clone_mpi_attributes(dmpi, mpi); }else{ dmpi=vf->dmpi;