vf_*: fix pts values passed to the next filter
commit994b21a80a2f37b0d672526739cb742b87f33ad9
authorRudolf Polzer <divverent@alientrap.org>
Sat, 23 Apr 2011 16:56:47 +0000 (23 18:56 +0200)
committerUoti Urpala <uau@mplayer2.org>
Sun, 24 Apr 2011 00:55:47 +0000 (24 03:55 +0300)
tree222e014be69723c4772d5045fee35eb98ffc8a63
parent28b3cc0efe7a575cb8004d1b109ce5ca2f2953bb
vf_*: fix pts values passed to the next filter

Many video filters failed to calculate or even just pass through pts
values for their output frames. Fix this, and also make the two
remaining filters that called vf_next_put_image() twice for the same
input frame (vf_softpulldown, vf_telecine) use vf_queue_frame() so
that e.g. framestepping properly sees both frames.

Changed filters: vf_bmovl, vf_detc, vf_divtc, vf_filmdint, vf_ivtc,
vf_lavc, vf_phase, vf_pullup, vf_softpulldown, vf_telecine, vf_tile,
vf_tinterlace.
16 files changed:
libmpcodecs/pullup.c
libmpcodecs/pullup.h
libmpcodecs/vf.c
libmpcodecs/vf.h
libmpcodecs/vf_bmovl.c
libmpcodecs/vf_detc.c
libmpcodecs/vf_divtc.c
libmpcodecs/vf_filmdint.c
libmpcodecs/vf_ivtc.c
libmpcodecs/vf_lavc.c
libmpcodecs/vf_phase.c
libmpcodecs/vf_pullup.c
libmpcodecs/vf_softpulldown.c
libmpcodecs/vf_telecine.c
libmpcodecs/vf_tile.c
libmpcodecs/vf_tinterlace.c