]> git.videolan.org Git - x264.git/commit
Add support for frame-accurate parameter changes
authorJason Garrett-Glaser <darkshikari@gmail.com>
Wed, 19 Aug 2009 01:37:26 +0000 (18:37 -0700)
committerJason Garrett-Glaser <darkshikari@gmail.com>
Wed, 19 Aug 2009 02:39:11 +0000 (19:39 -0700)
commitd6846d3d17ac7289eb3d82f54d19459d3a1a5b21
treed904d00c629d1476e1ff74d0438e85cdfbee5f50
parent9892984392cd550e65e3f2cd6fd08d6afb083472
Add support for frame-accurate parameter changes
Parameter structs can now be passed with individual frames.
The previous method would only change the parameter of what was currently being encoded, which due to delay might be very far from an intended exact frame.
Also add support for changing aspect ratio.  Only works in a stream with repeating headers and requires the caller to force an IDR to ensure instant effect.
common/common.c
common/frame.c
common/frame.h
encoder/encoder.c
encoder/ratecontrol.c
x264.h