summaryrefslogtreecommitdiffstats
path: root/video/decode/vd_lavc.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/decode/vd_lavc.c')
-rw-r--r--video/decode/vd_lavc.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/video/decode/vd_lavc.c b/video/decode/vd_lavc.c
index 513eded9a4..bf610e83e4 100644
--- a/video/decode/vd_lavc.c
+++ b/video/decode/vd_lavc.c
@@ -151,6 +151,12 @@ static const struct vd_lavc_hwdec mp_vd_lavc_rpi_copy = {
};
#endif
+static const struct vd_lavc_hwdec mp_vd_lavc_rkmpp = {
+ .type = HWDEC_RKMPP,
+ .lavc_suffix = "_rkmpp",
+ .image_format = IMGFMT_DRMPRIME,
+};
+
#if HAVE_CUDA_HWACCEL
static const struct vd_lavc_hwdec mp_vd_lavc_cuda = {
.type = HWDEC_CUDA,
@@ -270,6 +276,7 @@ static const struct vd_lavc_hwdec *const hwdec_list[] = {
&mp_vd_lavc_cuda_copy,
#endif
&mp_vd_lavc_crystalhd,
+ &mp_vd_lavc_rkmpp,
NULL
};