]> git.sesse.net Git - ffmpeg/commit
Fallback to input timestamps for non-delay encoders.
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sun, 22 Jan 2012 10:23:47 +0000 (11:23 +0100)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sun, 29 Jan 2012 13:17:11 +0000 (14:17 +0100)
commit05741d70c7a6d877cf4cfe472e316d0b5024dfc3
tree06b2b39d9e384504f4b7c07f4b0163bf031e677d
parent9719528e05eb076bd689e51bfc14a52d38e1d309
Fallback to input timestamps for non-delay encoders.

Causes FFmpeg to pass through the correct pts values,
instead of clobbering all to AV_NOPTS_VALUE (the av_init_packet
default) to then make up new ones based on only fps when muxing.
Included are also the related FATE ref changes, which all
some reasonable on quick investigation.
Also set all H.264 references to us -vsync drop to reduce the
diff for the ref files.
Otherwise almost all H.264 references need to change, mostly due
to now starting with negative pts values.
About 20 additional H.264 conformance tests needed -vsync
drop anyway because they create pts values that are out of
order and thus not possible to mux otherwise.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
22 files changed:
ffmpeg.c
tests/fate/h264.mak
tests/ref/fate/bethsoft-vid
tests/ref/fate/cscd
tests/ref/fate/deluxepaint-anm
tests/ref/fate/film-cvid-pcm-stereo-8bit
tests/ref/fate/h264-lossless
tests/ref/fate/mimic
tests/ref/fate/mpeg2-field-enc
tests/ref/fate/nuv
tests/ref/fate/quickdraw
tests/ref/fate/sierra-vmd
tests/ref/fate/tiertex-seq
tests/ref/fate/tscc-32bit
tests/ref/fate/vc1-ism
tests/ref/fate/vc1_sa00040
tests/ref/fate/vc1_sa00050
tests/ref/fate/vc1_sa10091
tests/ref/fate/vc1_sa20021
tests/ref/fate/vmnc-32bit
tests/ref/fate/vp8-sign-bias
tests/ref/fate/wmv8-drm