diff options
author | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-03-21 21:26:42 +0000 |
---|---|---|
committer | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-03-21 21:26:42 +0000 |
commit | 02b199e5e93926cc106774068eb3e883826c3ae4 (patch) | |
tree | 4dfe84f1d807e9fc598c347511bb9dfa84157500 /libmpcodecs/vf_harddup.c | |
parent | aa6943767de4902e5b29e9952e252a1e75aac7ac (diff) | |
download | mpv-02b199e5e93926cc106774068eb3e883826c3ae4.tar.bz2 mpv-02b199e5e93926cc106774068eb3e883826c3ae4.tar.xz |
passing pts through the filter layer (lets see if pts or cola comes out at the end)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17907 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs/vf_harddup.c')
-rw-r--r-- | libmpcodecs/vf_harddup.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libmpcodecs/vf_harddup.c b/libmpcodecs/vf_harddup.c index 31e47ea123..eb7527a703 100644 --- a/libmpcodecs/vf_harddup.c +++ b/libmpcodecs/vf_harddup.c @@ -15,7 +15,7 @@ struct vf_priv_s { mp_image_t *last_mpi; }; -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; int ret; @@ -34,7 +34,7 @@ static int put_image(struct vf_instance_s* vf, mp_image_t *mpi) dmpi->stride[2] = mpi->stride[2]; } - return vf_next_put_image(vf, dmpi); + return vf_next_put_image(vf, dmpi, pts); } static int control(struct vf_instance_s* vf, int request, void* data) @@ -46,7 +46,7 @@ static int control(struct vf_instance_s* vf, int request, void* data) // has been called earlier in the filter chain // since the last put_image. This is reasonable // because we're handling a duplicate frame! - if (put_image(vf, vf->priv->last_mpi)) + if (put_image(vf, vf->priv->last_mpi, MP_NOPTS_VALUE)) return CONTROL_TRUE; break; } |