]> git.videolan.org Git - x264.git/commit
Hack around a potential failure point in VBV
authorJason Garrett-Glaser <darkshikari@gmail.com>
Wed, 28 Jan 2009 07:27:56 +0000 (23:27 -0800)
committerJason Garrett-Glaser <darkshikari@gmail.com>
Wed, 28 Jan 2009 07:27:56 +0000 (23:27 -0800)
commit71c5a8dca6e5f7bf2330d028989eeeab27701151
tree6787a2d2b1026ef76fed6f82414dd91c69decde7
parent8e2c4b76dd49c44cedf46343e46b292d5a0ca39e
Hack around a potential failure point in VBV
pred_b_from_p can become absurdly large in static scenes, leading to rare collapses of quality with VBV+B-frames+threads.
This isn't a final fix, but should resolve the problem in most cases in the meantime.
encoder/ratecontrol.c