diff options
author | wm4 <wm4@nowhere> | 2015-09-28 21:55:23 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-09-28 22:03:14 +0200 |
commit | 1dd7b7bddc694b1c018b74bccaebcc98d9144ee4 (patch) | |
tree | 8b8613ab7157e8885f9b093266eabab830cf6dcf /video/img_format.h | |
parent | 15ef9f9ee6e4aa70b07afd9a2fafff34606d0142 (diff) | |
download | mpv-1dd7b7bddc694b1c018b74bccaebcc98d9144ee4.tar.bz2 mpv-1dd7b7bddc694b1c018b74bccaebcc98d9144ee4.tar.xz |
video: remove VDA support
VideoToolbox is preferred. Now that FFmpeg released 2.8, there's no
reason to support VDA anymore. In fact, we had a bug that made VDA not
useable with older FFmpeg versions in some newer mpv releases.
VideoToolbox is supported even on slightly older OSX versions, and if
not, you still can run mpv without hw decoding.
Diffstat (limited to 'video/img_format.h')
-rw-r--r-- | video/img_format.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/video/img_format.h b/video/img_format.h index f88592e7f9..fefe0b82e4 100644 --- a/video/img_format.h +++ b/video/img_format.h @@ -205,11 +205,7 @@ enum mp_imgfmt { IMGFMT_VAAPI, IMGFMT_DXVA2, // IDirect3DSurface9 (NV12) IMGFMT_MMAL, // MMAL_BUFFER_HEADER_T - // These use the same underlying format, but FFmpeg requires us to keep - // them separate. The VDA decoder will change the format to - // IMGFMT_VIDEOTOOLBOX, though. - IMGFMT_VIDEOTOOLBOX, - IMGFMT_VDA, + IMGFMT_VIDEOTOOLBOX, // CVPixelBufferRef // Generic pass-through of AV_PIX_FMT_*. Used for formats which don't have // a corresponding IMGFMT_ value. |