diff options
author | Mark Thompson <sw@jkqxz.net> | 2020-04-13 16:33:16 +0100 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2020-04-26 18:38:25 +0100 |
commit | 5a1ff449071fefa7913858fbe2d084f698443e57 (patch) | |
tree | 5b19e1dca6bdebc5cfe9abef2441fd868beef74e /libavcodec/qsvenc_mpeg2.c | |
parent | 858eba0ca4b680ce23c4eebd1460db333989b0a4 (diff) | |
download | ffmpeg-5a1ff449071fefa7913858fbe2d084f698443e57.tar.gz |
lavc/qsvenc: Add hardware config metadata
All of these encoders can accept libmfx surfaces directly in a hardware
frames context, or they can accept software frames if a suitable device
is supplied to use.
Diffstat (limited to 'libavcodec/qsvenc_mpeg2.c')
-rw-r--r-- | libavcodec/qsvenc_mpeg2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/qsvenc_mpeg2.c b/libavcodec/qsvenc_mpeg2.c index e4ade56d62..0e34bb75dc 100644 --- a/libavcodec/qsvenc_mpeg2.c +++ b/libavcodec/qsvenc_mpeg2.c @@ -112,4 +112,5 @@ AVCodec ff_mpeg2_qsv_encoder = { .defaults = qsv_enc_defaults, .caps_internal = FF_CODEC_CAP_INIT_CLEANUP, .wrapper_name = "qsv", + .hw_configs = ff_qsv_enc_hw_configs, }; |