]> granicus.if.org Git - handbrake/commit
libhb: fix Bob + CFR Same As Source + 2 Pass encode
authorJohn Stebbins <jstebbins.hb@gmail.com>
Thu, 9 Feb 2017 17:23:19 +0000 (10:23 -0700)
committerJohn Stebbins <jstebbins.hb@gmail.com>
Thu, 9 Feb 2017 17:23:19 +0000 (10:23 -0700)
commit6674825664c4847c74ccc99ef35a0c85f2df9eb8
treed0ce2d871bc0567a058e37d8284636c1a55b7eea
parent5869f45d7c83f17a8c079ae85d7f54a300449aae
libhb: fix Bob + CFR Same As Source + 2 Pass encode

The bob filter predicts the resulting output framerate as 2 * input
framerate.  So during 2 pass encoding, we must adjust the framerate with
the knows 1st pass values *after* any predictions made by filters.

Fixes https://github.com/HandBrake/HandBrake/issues/556
libhb/work.c