Mercurial > mplayer.hg
diff libmpcodecs/vf_pp.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 | b56f34ba3f2f |
children | b7746166426c |
line wrap: on
line diff
--- a/libmpcodecs/vf_pp.c Tue Mar 21 06:09:32 2006 +0000 +++ b/libmpcodecs/vf_pp.c Tue Mar 21 21:26:42 2006 +0000 @@ -112,7 +112,7 @@ mpi->flags|=MP_IMGFLAG_DIRECT; } -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){ if(!(mpi->flags&MP_IMGFLAG_DIRECT)){ // no DR, so get a new image! hope we'll get DR buffer: vf->dmpi=vf_get_image(vf->next,mpi->imgfmt, @@ -137,7 +137,7 @@ mpi->pict_type); #endif } - return vf_next_put_image(vf,vf->dmpi); + return vf_next_put_image(vf,vf->dmpi, pts); } //===========================================================================//