diff options
author | wm4 <wm4@nowhere> | 2017-10-28 19:59:08 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-10-28 19:59:08 +0200 |
commit | 6b745769b1fd15ba03edad3fe381abb745bf9907 (patch) | |
tree | 393cba00ce5561df576bb6d1d5507cefca870d18 /video/out/gpu/hwdec.c | |
parent | 3413fe4dfdd61724719e3582aeb91b2523a00b84 (diff) | |
download | mpv-6b745769b1fd15ba03edad3fe381abb745bf9907.tar.bz2 mpv-6b745769b1fd15ba03edad3fe381abb745bf9907.tar.xz |
vd_lavc: add support for nvdec hwaccel
See manpage additions.
(In ffmpeg-mpv and Libav, this is still called "cuvid". Libav won't work
yet, because it has no frame params support yet, but this could get
fixed soon.)
Diffstat (limited to 'video/out/gpu/hwdec.c')
-rw-r--r-- | video/out/gpu/hwdec.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/video/out/gpu/hwdec.c b/video/out/gpu/hwdec.c index 9eefe3e287..d88dc5e779 100644 --- a/video/out/gpu/hwdec.c +++ b/video/out/gpu/hwdec.c @@ -35,6 +35,7 @@ extern const struct ra_hwdec_driver ra_hwdec_d3d11eglrgb; extern const struct ra_hwdec_driver ra_hwdec_dxva2gldx; extern const struct ra_hwdec_driver ra_hwdec_dxva2; extern const struct ra_hwdec_driver ra_hwdec_cuda; +extern const struct ra_hwdec_driver ra_hwdec_cuda_nvdec; extern const struct ra_hwdec_driver ra_hwdec_rpi_overlay; #if HAVE_DRMPRIME && HAVE_DRM extern const struct ra_hwdec_driver ra_hwdec_drmprime_drm; @@ -65,6 +66,7 @@ static const struct ra_hwdec_driver *const mpgl_hwdec_drivers[] = { #endif #if HAVE_CUDA_HWACCEL &ra_hwdec_cuda, + &ra_hwdec_cuda_nvdec, #endif #if HAVE_RPI &ra_hwdec_rpi_overlay, |