summaryrefslogtreecommitdiff
path: root/libavcodec/nvenc_hevc.c
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2020-04-13 16:33:18 +0100
committerTimo Rothenpieler <timo@rothenpieler.org>2020-04-27 23:06:06 +0200
commit1dff97b7bc792267c3e79030fbaed0e9fefc65fb (patch)
tree73f245cf37c284dbcaecd4ad6e535f0bd7f1935a /libavcodec/nvenc_hevc.c
parent1128aa875367f66ac11adc30364d5652919a2591 (diff)
downloadffmpeg-1dff97b7bc792267c3e79030fbaed0e9fefc65fb.tar.gz
avcodec/nvenc: add hardware config metadata
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
Diffstat (limited to 'libavcodec/nvenc_hevc.c')
-rw-r--r--libavcodec/nvenc_hevc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/nvenc_hevc.c b/libavcodec/nvenc_hevc.c
index ea337a514f..89919b162c 100644
--- a/libavcodec/nvenc_hevc.c
+++ b/libavcodec/nvenc_hevc.c
@@ -178,6 +178,7 @@ AVCodec ff_nvenc_hevc_encoder = {
AV_CODEC_CAP_ENCODER_FLUSH,
.caps_internal = FF_CODEC_CAP_INIT_CLEANUP,
.wrapper_name = "nvenc",
+ .hw_configs = ff_nvenc_hw_configs,
};
#endif
@@ -208,4 +209,5 @@ AVCodec ff_hevc_nvenc_encoder = {
AV_CODEC_CAP_ENCODER_FLUSH,
.caps_internal = FF_CODEC_CAP_INIT_CLEANUP,
.wrapper_name = "nvenc",
+ .hw_configs = ff_nvenc_hw_configs,
};