diff options
Diffstat (limited to 'video/decode/vd_lavc.c')
-rw-r--r-- | video/decode/vd_lavc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/video/decode/vd_lavc.c b/video/decode/vd_lavc.c index 1dc6e28694..b8042a007d 100644 --- a/video/decode/vd_lavc.c +++ b/video/decode/vd_lavc.c @@ -117,6 +117,7 @@ const struct m_sub_options vd_lavc_conf = { const struct vd_lavc_hwdec mp_vd_lavc_vdpau; const struct vd_lavc_hwdec mp_vd_lavc_vda; +const struct vd_lavc_hwdec mp_vd_lavc_videotoolbox; const struct vd_lavc_hwdec mp_vd_lavc_vaapi; const struct vd_lavc_hwdec mp_vd_lavc_vaapi_copy; const struct vd_lavc_hwdec mp_vd_lavc_dxva2_copy; @@ -129,6 +130,9 @@ static const struct vd_lavc_hwdec *const hwdec_list[] = { #if HAVE_VDPAU_HWACCEL &mp_vd_lavc_vdpau, #endif +#if HAVE_VIDEOTOOLBOX_HWACCEL + &mp_vd_lavc_videotoolbox, +#endif #if HAVE_VDA_HWACCEL &mp_vd_lavc_vda, #endif |