diff options
author | Mark Thompson <sw@jkqxz.net> | 2016-04-09 16:48:27 +0100 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2016-06-09 21:15:39 +0100 |
commit | 19d7667a81499d4357ec8e0851701e17c238e584 (patch) | |
tree | 836425131abae74fba4b5e72e7b76a1793b08d03 /libavcodec/vaapi_encode.h | |
parent | 081961f819c0b16c7a860d7da7d39f1fd91bd2f0 (diff) | |
download | ffmpeg-19d7667a81499d4357ec8e0851701e17c238e584.tar.gz |
vaapi_encode: Add support for writing arbitrary additional packed headers
Diffstat (limited to 'libavcodec/vaapi_encode.h')
-rw-r--r-- | libavcodec/vaapi_encode.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/vaapi_encode.h b/libavcodec/vaapi_encode.h index ec552dad0a..85f3a0c894 100644 --- a/libavcodec/vaapi_encode.h +++ b/libavcodec/vaapi_encode.h @@ -215,6 +215,10 @@ typedef struct VAAPIEncodeType { VAAPIEncodePicture *pic, int index, int *type, char *data, size_t *data_len); + int (*write_extra_header)(AVCodecContext *avctx, + VAAPIEncodePicture *pic, + int index, int *type, + char *data, size_t *data_len); } VAAPIEncodeType; |