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.c | 1 + 1 file changed, 1 insertion(+) (limited to 'video/img_format.c') diff --git a/video/img_format.c b/video/img_format.c index 6cf585db61..5defa6662e 100644 --- a/video/img_format.c +++ b/video/img_format.c @@ -36,6 +36,7 @@ static const struct mp_imgfmt_entry mp_imgfmt_list[] = { {"vdpau_output", IMGFMT_VDPAU_OUTPUT}, // FFmpeg names have an annoying "_vld" suffix {"vda", IMGFMT_VDA}, + {"videotoolbox", IMGFMT_VIDEOTOOLBOX}, {"vaapi", IMGFMT_VAAPI}, // names below this are not preferred over the FFmpeg names // the "none" entry makes mp_imgfmt_to_name prefer FFmpeg names -- cgit v1.2.3