From 31b5a211f4421cd593ef7eacda9efb9ee57a59d6 Mon Sep 17 00:00:00 2001 From: Sebastien Zwickert Date: Sat, 11 Jul 2015 17:21:39 +0200 Subject: hwdec: add VideoToolbox support VDA is being deprecated in OS X 10.11 so this is needed to keep hwdec working. The code needs libavcodec support which was added recently (to FFmpeg git, libav doesn't support it). Signed-off-by: Stefano Pigozzi --- video/img_format.h | 1 + 1 file changed, 1 insertion(+) (limited to 'video/img_format.h') diff --git a/video/img_format.h b/video/img_format.h index 8c79d9f95b..77d722f7c9 100644 --- a/video/img_format.h +++ b/video/img_format.h @@ -203,6 +203,7 @@ enum mp_imgfmt { IMGFMT_VDPAU, // VdpVideoSurface IMGFMT_VDPAU_OUTPUT, // VdpOutputSurface IMGFMT_VDA, + IMGFMT_VIDEOTOOLBOX, IMGFMT_VAAPI, IMGFMT_DXVA2, // IDirect3DSurface9 (NV12) IMGFMT_MMAL, // MMAL_BUFFER_HEADER_T -- cgit v1.2.3