diff options
author | Rodeo <[email protected]> | 2013-01-22 20:21:32 +0000 |
---|---|---|
committer | Rodeo <[email protected]> | 2013-01-22 20:21:32 +0000 |
commit | f89cb4e117fa98fe3d6b8820b3d7f4a80a6acc4a (patch) | |
tree | 2caeb27d3856a8ef936c6a83ce8efd385d2e9f50 /libhb/encx264.c | |
parent | 5667228011487aa4ffe187c6e6d2d5b15dd7e72b (diff) |
Fix hb_apply_h264_level() after x264 bump.
x264's DPB size table was updated in http://git.videolan.org/?p=x264.git;a=commit;h=d2d8364f
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5193 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/encx264.c')
-rw-r--r-- | libhb/encx264.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/encx264.c b/libhb/encx264.c index f5808963f..503f46cd9 100644 --- a/libhb/encx264.c +++ b/libhb/encx264.c @@ -805,7 +805,7 @@ int hb_apply_h264_level(x264_param_t *param, const char *h264_level, if (param->i_keyint_max != 1) { int i_max_dec_frame_buffering = - MAX(MIN(x264_level->dpb / (384 * i_mb_size), 16), 1); + MAX(MIN(x264_level->dpb / i_mb_size, 16), 1); param->i_frame_reference = MIN(i_max_dec_frame_buffering, param->i_frame_reference); /* |