vaapi_encode: Check packed header capabilities
authorMark Thompson <sw@jkqxz.net>
Sun, 18 Sep 2016 13:59:59 +0000 (14:59 +0100)
committerMark Thompson <sw@jkqxz.net>
Wed, 28 Sep 2016 21:54:11 +0000 (22:54 +0100)
commit892bbbcdc171ff0d08d69636a240ffb95f54243c
treed9b1b85f004fe3b5c3b61ae1d41d2944c41af572
parent80a5d05108cb218e8cd2e25c6621a3bfef0a832e
vaapi_encode: Check packed header capabilities

This improves behaviour with drivers which do not support packed
headers, such as AMD VCE on mesa/gallium.
libavcodec/vaapi_encode.c
libavcodec/vaapi_encode.h
libavcodec/vaapi_encode_h264.c
libavcodec/vaapi_encode_h265.c
libavcodec/vaapi_encode_mjpeg.c