core: Better -nocorrect-pts pause and filter-added frames handling
commit38a76f7fdf5c03bc49072b693d7c53b343f2994a
authorUoti Urpala <uau@glyph.nonexistent.invalid>
Wed, 14 Jan 2009 00:51:24 +0000 (14 02:51 +0200)
committerUoti Urpala <uau@glyph.nonexistent.invalid>
Wed, 14 Jan 2009 01:42:05 +0000 (14 03:42 +0200)
tree0e8c7e419f8bbfe9ad55beba0fd17b3de94fb386
parent1f782eb802e9774bc53103e935eb673c283cf0aa
core: Better -nocorrect-pts pause and filter-added frames handling

Rewrite the -nocorrect-pts frame creation code. The new version always
updates the visible frame when seeking while pausing, and supports
filter-added frames. It can not time those properly though.

Now the handling of filter-added frames in MPlayer always uses the new
method independently of the value of correct-pts but MEncoder still
expects the old behavior. Add a global variable that is set under
MEncoder only and change the filters to choose behavior based on that
instead of the correct_pts option.
libmpcodecs/vf_tfields.c
libmpcodecs/vf_yadif.c
mencoder.c
mplayer.c