mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
lavc/vaapi_encode*: handle frame durations and AV_CODEC_CAP_ENCODER_REORDERED_OPAQUE
Except for the mjpeg_vaapi encoder, which is already handled generically.
This commit is contained in:
parent
c44a3dba9e
commit
fbdba9a1a6
6 changed files with 13 additions and 5 deletions
|
|
@ -1487,7 +1487,7 @@ const FFCodec ff_hevc_vaapi_encoder = {
|
|||
.close = &vaapi_encode_h265_close,
|
||||
.p.priv_class = &vaapi_encode_h265_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_h265_defaults,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue