diff options
author | Aman Gupta <aman@tmm1.net> | 2016-07-14 11:14:22 -0700 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-07-15 01:01:17 +0200 |
commit | 588b2f48e5ade8cfb45370ab1dec8cbd109b5d7f (patch) | |
tree | bc3432cff10c346a93e4b5142cd78a5320c98166 /video/decode/vd_lavc.c | |
parent | e656889624cefd576d3f515fba9b6edc7efe5f3c (diff) | |
download | mpv-588b2f48e5ade8cfb45370ab1dec8cbd109b5d7f.tar.bz2 mpv-588b2f48e5ade8cfb45370ab1dec8cbd109b5d7f.tar.xz |
videotoolbox: add --hwdec=videotoolbox-copy for h/w accelerated decoding with video filters
Diffstat (limited to 'video/decode/vd_lavc.c')
-rw-r--r-- | video/decode/vd_lavc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/video/decode/vd_lavc.c b/video/decode/vd_lavc.c index 5962f883cd..eb63e58e92 100644 --- a/video/decode/vd_lavc.c +++ b/video/decode/vd_lavc.c @@ -126,6 +126,7 @@ const struct m_sub_options vd_lavc_conf = { extern const struct vd_lavc_hwdec mp_vd_lavc_vdpau; extern const struct vd_lavc_hwdec mp_vd_lavc_videotoolbox; +extern const struct vd_lavc_hwdec mp_vd_lavc_videotoolbox_copy; extern const struct vd_lavc_hwdec mp_vd_lavc_vaapi; extern const struct vd_lavc_hwdec mp_vd_lavc_vaapi_copy; extern const struct vd_lavc_hwdec mp_vd_lavc_dxva2; @@ -158,6 +159,7 @@ static const struct vd_lavc_hwdec *const hwdec_list[] = { #endif #if HAVE_VIDEOTOOLBOX_HWACCEL &mp_vd_lavc_videotoolbox, + &mp_vd_lavc_videotoolbox_copy, #endif #if HAVE_VAAPI_HWACCEL &mp_vd_lavc_vaapi, |