OSDN Git Service

Improved logging of keyint min/max
authorjstebbins <jstebbins@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Sun, 7 Nov 2010 17:21:13 +0000 (17:21 +0000)
committerjstebbins <jstebbins@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Sun, 7 Nov 2010 17:21:13 +0000 (17:21 +0000)
commitfac35b26105e0e5825923b9897b9695ae68b7e28
treeb371ece165cc0469ea0b717f31896bb64ecb5d40
parentdc5fee4c54f1d751fc8ff9700faa485e1ada0535
Improved logging of keyint min/max
And small tweak to keyint_max calculation.

x264 slightly changed the way the automatic min-keyint is calculated.
Also, keyint infinite was added. This does not cause any encoding issues,
but depending on the settings and the framerate, the log contained
keyint values that don't correspond to the actual encode's values.

The keyint_max was calculated, 59.94 fps sources will get a keyint of 599
rather than 600.  With this change, It is rounded to the closest integer
then multiplied by 10.

Thanks to Rodeo

git-svn-id: svn://localhost/HandBrake/trunk@3658 b64f7644-9d1e-0410-96f1-a4d463321fa5
libhb/encx264.c