mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
vaapi_encode: Add support for codec-local options
Signed-off-by: Anton Khirnov <anton@khirnov.net>
This commit is contained in:
parent
6e8f66fc93
commit
69b06ed428
2 changed files with 6 additions and 0 deletions
|
|
@ -905,6 +905,7 @@ av_cold int ff_vaapi_encode_init(AVCodecContext *avctx,
|
|||
}
|
||||
|
||||
ctx->codec = type;
|
||||
ctx->codec_options = ctx->codec_options_data;
|
||||
|
||||
ctx->priv_data = av_mallocz(type->priv_data_size);
|
||||
if (!ctx->priv_data) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue