diff options
author | Mark Thompson <sw@jkqxz.net> | 2019-01-25 19:54:27 +0000 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2019-01-27 17:38:38 +0000 |
commit | 44bcccb7f0c43cb40f1e61f6e1e19cf2ab266c57 (patch) | |
tree | 9d91a52ee8f334a53fbe6a10f2c415600a2b6955 /libavcodec/tests | |
parent | d3a69438049b481dd9db1af82fd22494d7560ee4 (diff) | |
download | ffmpeg-44bcccb7f0c43cb40f1e61f6e1e19cf2ab266c57.tar.gz |
vaapi_encode_h265: Ensure that ref pics are always in the RPS
When making a new P-frame when B-frames are present the previous P-frame
is normally in the DPB because it will be referred to by subsequent
B-frames. However, this is not true if there are no B-frames, or in edge
cases where a GOP ends with two P-frames. Fix this by adding the direct
ref pics to the RPS explicitly.
Fixes #7699.
Tested-by: Ullysses A Eoff <ullysses.a.eoff@intel.com>
Diffstat (limited to 'libavcodec/tests')
0 files changed, 0 insertions, 0 deletions