summaryrefslogtreecommitdiff
path: root/libavcodec/nvdec.c
diff options
context:
space:
mode:
authorTimo Rothenpieler <timo@rothenpieler.org>2017-11-11 21:19:07 +0100
committerTimo Rothenpieler <timo@rothenpieler.org>2017-11-13 20:33:10 +0100
commitf3f73f0893e2bddd80897148d21cdf3e8e4d8492 (patch)
treeb6f082abccff0f63dccc0cb61675017a188156ac /libavcodec/nvdec.c
parent52bf0febb3a8a47b16ac6c3bfd707c347299f174 (diff)
downloadffmpeg-f3f73f0893e2bddd80897148d21cdf3e8e4d8492.tar.gz
avcodec: implement vp9 nvdec hwaccel
Diffstat (limited to 'libavcodec/nvdec.c')
-rw-r--r--libavcodec/nvdec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/nvdec.c b/libavcodec/nvdec.c
index 274f69f997..7d768b2327 100644
--- a/libavcodec/nvdec.c
+++ b/libavcodec/nvdec.c
@@ -54,6 +54,7 @@ static int map_avcodec_id(enum AVCodecID id)
switch (id) {
case AV_CODEC_ID_H264: return cudaVideoCodec_H264;
case AV_CODEC_ID_HEVC: return cudaVideoCodec_HEVC;
+ case AV_CODEC_ID_VP9: return cudaVideoCodec_VP9;
}
return -1;
}