diff options
author | 2002-04-14 02:07:29 +0000 | |
---|---|---|
committer | 2002-04-14 02:07:29 +0000 | |
commit | a1a3cd6af290cbd10e6e8f097aa75586a6febb9f (patch) | |
tree | dad049187e31be14451d3b3c7a843ef1d1364267 /libmpcodecs | |
parent | 4efbbf02fae250deb7f976e02b234b29782c4a64 (diff) |
export width too
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5615 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs')
-rw-r--r-- | libmpcodecs/vf_crop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libmpcodecs/vf_crop.c b/libmpcodecs/vf_crop.c index 1b1f057f4f..9288b4f477 100644 --- a/libmpcodecs/vf_crop.c +++ b/libmpcodecs/vf_crop.c @@ -44,15 +44,15 @@ static void put_image(struct vf_instance_s* vf, mp_image_t *mpi){ (vf->priv->crop_y>>1)*mpi->stride[1]+(vf->priv->crop_x>>1); dmpi->planes[2]=mpi->planes[2]+ (vf->priv->crop_y>>1)*mpi->stride[2]+(vf->priv->crop_x>>1); - dmpi->stride[0]=mpi->stride[0]; dmpi->stride[1]=mpi->stride[1]; dmpi->stride[2]=mpi->stride[2]; } else { dmpi->planes[0]=mpi->planes[0]+ vf->priv->crop_y*mpi->stride[0]+ vf->priv->crop_x*(mpi->bpp/8); - dmpi->stride[0]=mpi->stride[0]; } + dmpi->stride[0]=mpi->stride[0]; + dmpi->width=mpi->width; vf_next_put_image(vf,dmpi); } |