vaapi_encode: Write sequence header as extradata
authorMark Thompson <sw@jkqxz.net>
Sun, 2 Oct 2016 07:48:34 +0000 (08:48 +0100)
committerMark Thompson <sw@jkqxz.net>
Mon, 5 Dec 2016 21:04:00 +0000 (21:04 +0000)
commit51020adcecf4004c1586a708d96acc6cbddd050a
tree131117de1553dd08109be8a038eb1f4ffd097019
parentf17eea883a6fc8dbae71fe445ab0c7e925ac2953
vaapi_encode: Write sequence header as extradata

Only works if packed headers are supported, where we can know the
output before generating the first frame.

(cherry picked from commit 0cf86fabfa5820596cca2cfead63c6f8df76c3f2)
libavcodec/vaapi_encode.c
libavcodec/vaapi_encode.h