vaapi_h264: Fix HRD bit_rate/cpb_size scaling
authorMark Thompson <sw@jkqxz.net>
Mon, 12 Sep 2016 23:25:07 +0000 (00:25 +0100)
committerMark Thompson <sw@jkqxz.net>
Mon, 21 Nov 2016 22:13:41 +0000 (22:13 +0000)
commit06d73d002e7f911f26ae1548b46e442a6ece9a4a
tree88c1055537b55a36b4bfd18fc7ff81e93b9af7c4
parent156fbbb562f36f6dcaf363fb3029834c28519dc7
vaapi_h264: Fix HRD bit_rate/cpb_size scaling

There should be an extra offset of 6 on bit_rate_scale and of 4 on
cpb_size_scale which were not accounted for here.

(cherry picked from commit 3a9662af6c741f8354b1ca97642f78f5c02e2e8f)
libavcodec/vaapi_encode_h264.c