]> git.sesse.net Git - ffmpeg/commit
vaapi_encode: Always reapply global parameters after the sequence header
authorMark Thompson <sw@jkqxz.net>
Tue, 18 Sep 2018 22:30:44 +0000 (23:30 +0100)
committerMark Thompson <sw@jkqxz.net>
Sun, 23 Sep 2018 13:42:33 +0000 (14:42 +0100)
commit2562dd9e7831743ba6dc5680501fb7d26a2ec62c
tree45a2de5838060d83e0bb9fb890a45ff34fa1f14d
parentac31d84506cde8e055edf8fab807cb0ee5878554
vaapi_encode: Always reapply global parameters after the sequence header

The codec sequence headers may contain fields which can overwrite the
fine parameters given in the specific settings (e.g. a crude bitrate
value vs. the max-rate / target-percentage / etc. values in
VAEncMiscParameterRateControl).  Always reapply all global parameters
after a sequence header to avoid this causing problems.
libavcodec/vaapi_encode.c