diff options
author | Anton Khirnov <anton@khirnov.net> | 2023-01-04 18:11:19 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2023-01-29 09:23:17 +0100 |
commit | fbdba9a1a69fe4df413d9e9df1b11db522946e75 (patch) | |
tree | de85f263b1b99c869d40a1b27e7adb92926abf9c /libavcodec/vaapi_encode_mpeg2.c | |
parent | c44a3dba9eaebc200c2cf9e4cb30c20c2ebd4562 (diff) | |
download | ffmpeg-fbdba9a1a69fe4df413d9e9df1b11db522946e75.tar.gz |
lavc/vaapi_encode*: handle frame durations and AV_CODEC_CAP_ENCODER_REORDERED_OPAQUE
Except for the mjpeg_vaapi encoder, which is already handled
generically.
Diffstat (limited to 'libavcodec/vaapi_encode_mpeg2.c')
-rw-r--r-- | libavcodec/vaapi_encode_mpeg2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vaapi_encode_mpeg2.c b/libavcodec/vaapi_encode_mpeg2.c index 38e1d83f68..9261d19a83 100644 --- a/libavcodec/vaapi_encode_mpeg2.c +++ b/libavcodec/vaapi_encode_mpeg2.c @@ -698,7 +698,7 @@ const FFCodec ff_mpeg2_vaapi_encoder = { .close = &vaapi_encode_mpeg2_close, .p.priv_class = &vaapi_encode_mpeg2_class, .p.capabilities = AV_CODEC_CAP_DELAY | AV_CODEC_CAP_HARDWARE | - AV_CODEC_CAP_DR1, + AV_CODEC_CAP_DR1 | AV_CODEC_CAP_ENCODER_REORDERED_OPAQUE, .caps_internal = FF_CODEC_CAP_NOT_INIT_THREADSAFE | FF_CODEC_CAP_INIT_CLEANUP, .defaults = vaapi_encode_mpeg2_defaults, |