diff options
author | Mark Thompson <sw@jkqxz.net> | 2020-04-13 18:33:18 +0300 |
---|---|---|
committer | Timo Rothenpieler <timo@rothenpieler.org> | 2020-04-28 00:06:06 +0300 |
commit | 1dff97b7bc792267c3e79030fbaed0e9fefc65fb (patch) | |
tree | 73f245cf37c284dbcaecd4ad6e535f0bd7f1935a /libavcodec/nvenc_h264.c | |
parent | 1128aa875367f66ac11adc30364d5652919a2591 (diff) |
avcodec/nvenc: add hardware config metadata
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
Diffstat (limited to 'libavcodec/nvenc_h264.c')
-rw-r--r-- | libavcodec/nvenc_h264.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/nvenc_h264.c b/libavcodec/nvenc_h264.c index c39f90fe1b..bac45ac8ee 100644 --- a/libavcodec/nvenc_h264.c +++ b/libavcodec/nvenc_h264.c @@ -191,6 +191,7 @@ AVCodec ff_nvenc_encoder = { .caps_internal = FF_CODEC_CAP_INIT_CLEANUP, .pix_fmts = ff_nvenc_pix_fmts, .wrapper_name = "nvenc", + .hw_configs = ff_nvenc_hw_configs, }; #endif @@ -222,6 +223,7 @@ AVCodec ff_nvenc_h264_encoder = { .caps_internal = FF_CODEC_CAP_INIT_CLEANUP, .pix_fmts = ff_nvenc_pix_fmts, .wrapper_name = "nvenc", + .hw_configs = ff_nvenc_hw_configs, }; #endif @@ -253,4 +255,5 @@ AVCodec ff_h264_nvenc_encoder = { .caps_internal = FF_CODEC_CAP_INIT_CLEANUP, .pix_fmts = ff_nvenc_pix_fmts, .wrapper_name = "nvenc", + .hw_configs = ff_nvenc_hw_configs, }; |