vaapi_encode: Clean up the packed header configuration
authorMark Thompson <sw@jkqxz.net>
Tue, 18 Sep 2018 22:30:48 +0000 (23:30 +0100)
committerMark Thompson <sw@jkqxz.net>
Sun, 23 Sep 2018 13:42:34 +0000 (14:42 +0100)
commit851a63c22a824ce5f8e5da0d2ea2ef1d461b4742
tree1178084232d9aa5bce11195dad764f4469d3c21a
parentbf726c26fde26601a90daacf1b10a9860d21321c
vaapi_encode: Clean up the packed header configuration

Add a larger warning more clearly explaining the consequences of missing
packed header support in the driver.  Also only write the extradata if the
user actually requests it via the GLOBAL_HEADER flag.
libavcodec/vaapi_encode.c
libavcodec/vaapi_encode.h
libavcodec/vaapi_encode_h264.c
libavcodec/vaapi_encode_h265.c
libavcodec/vaapi_encode_mjpeg.c
libavcodec/vaapi_encode_mpeg2.c
libavcodec/vaapi_encode_vp8.c
libavcodec/vaapi_encode_vp9.c