]> git.videolan.org Git - x264.git/commit
Improve DTS generation, move DTS compression into libx264
authorYusuke Nakamura <muken.the.vfrmaniac@gmail.com>
Wed, 27 Jan 2010 00:01:54 +0000 (16:01 -0800)
committerJason Garrett-Glaser <darkshikari@gmail.com>
Sat, 30 Jan 2010 12:05:10 +0000 (04:05 -0800)
commitd81c26db6909e2e3d9b85b21a2618287dce29575
tree693544525f736f6dc3e4fb03fee548cc9a936606
parent3659b8124a809c39d61a28bdf1b235e81c02b06d
Improve DTS generation, move DTS compression into libx264
This change fixes some cases in which PTS could be less than DTS.

Additionally, a new parameter, b_dts_compress, enables DTS compression.
DTS compression eliminates negative DTS (i.e. initial delay) due to B-frames.
The algorithm changes timebase in order to avoid duplicating DTS.
Currently, in x264cli, only the FLV muxer uses it.  The MP4 muxer doesn't need it, as it uses an EditBox instead.
common/common.c
common/common.h
common/frame.c
common/frame.h
encoder/encoder.c
encoder/slicetype.c
output/flv.c
output/mp4.c
x264.c
x264.h