vaapi_encode: Decide on GOP setup before initialising sequence parameters
authorMark Thompson <sw@jkqxz.net>
Fri, 30 Sep 2016 15:27:58 +0000 (17:27 +0200)
committerMark Thompson <sw@jkqxz.net>
Mon, 21 Nov 2016 22:13:41 +0000 (22:13 +0000)
commitded1859df17f5974dd2fc41a1b7d8eb0d3aaeceb
treee920ad25d8fcbc3f6e401715da07cef8e648c99f
parentee1d04f970b0297953a6b547f615297f1343654f
vaapi_encode: Decide on GOP setup before initialising sequence parameters

This was always too late; several fields related to it have been incorrectly
zero since the encoder was added.

(cherry picked from commit 314b421dd8910ebed7a8d419a0dbea239a00044e)
libavcodec/vaapi_encode.c