Mercurial > mplayer.hg
diff libmpcodecs/vf_crop.c @ 17906:20aca9baf5d8
passing pts through the filter layer (lets see if pts or cola comes out at the end)
author | michael |
---|---|
date | Tue, 21 Mar 2006 21:26:42 +0000 |
parents | 6ff3379a0862 |
children | bcd805923554 |
line wrap: on
line diff
--- a/libmpcodecs/vf_crop.c Tue Mar 21 06:09:32 2006 +0000 +++ b/libmpcodecs/vf_crop.c Tue Mar 21 21:26:42 2006 +0000 @@ -67,10 +67,10 @@ return vf_next_config(vf,vf->priv->crop_w,vf->priv->crop_h,d_width,d_height,flags,outfmt); } -static int put_image(struct vf_instance_s* vf, mp_image_t *mpi){ +static int put_image(struct vf_instance_s* vf, mp_image_t *mpi, double pts){ mp_image_t *dmpi; if (mpi->flags&MP_IMGFLAG_DRAW_CALLBACK) - return vf_next_put_image(vf,vf->dmpi); + return vf_next_put_image(vf,vf->dmpi, pts); dmpi=vf_get_image(vf->next,mpi->imgfmt, MP_IMGTYPE_EXPORT, 0, vf->priv->crop_w, vf->priv->crop_h); @@ -91,7 +91,7 @@ } dmpi->stride[0]=mpi->stride[0]; dmpi->width=mpi->width; - return vf_next_put_image(vf,dmpi); + return vf_next_put_image(vf,dmpi, pts); } static void start_slice(struct vf_instance_s* vf, mp_image_t *mpi){