vaapi_h264: Fix CPB/DPB delays
authorMark Thompson <sw@jkqxz.net>
Sat, 9 Sep 2017 21:49:14 +0000 (22:49 +0100)
committerMark Thompson <sw@jkqxz.net>
Tue, 17 Oct 2017 19:56:30 +0000 (20:56 +0100)
commit94a4048619665e99a19d9e2961254dc9b5c736a7
treef6771a2e608af2a0eb6845f0a8127ba7ba216fcf
parent0bc7575ced65bf4aa4678ac12d550aaf87890d0e
vaapi_h264: Fix CPB/DPB delays

This should be ticks, not time_scale steps - it was wrong for all
framerates not a multiple of 1/2.

(cherry picked from commit 30645174e333c7db1946ab09be769db9be9d7481)
libavcodec/vaapi_encode_h264.c