mpv/video/decode
wm4 6894858bf2 video: fix VideoToolbox/VDA autodetection
This affects vo_opengl_cb in particular: it'll most likely auto-load
VDA, and then the VideoToolbox decoder won't work. And everything fails.

This is mainly caused by FFmpeg using separate pixfmts for the _same_
thing (CVPixelBuffers), simply because libavcodec's architecture demands
that hwaccel backends are selected by pixfmts. (Which makes no sense,
but now we have the mess.)

So instead of duplicating FFmpeg's misdesign, just change the format to
our own canonical one on the image output by the decoder. Now the GL
interop code is exactly the same for VDA and VT, and we use the VT name
only.
2015-08-17 23:51:31 +02:00
..
dec_video.c player: make decoding cover art more robust 2015-06-18 18:39:46 +02:00
dec_video.h player: make decoding cover art more robust 2015-06-18 18:39:46 +02:00
dxva2.c win32: revert wchar_t changes 2015-08-01 21:09:11 +02:00
gpu_memcpy_sse4.h dxva2: gpu_memcpy: fix build for GCC 4.8.3 2014-10-26 13:56:41 +01:00
lavc.h vdpau: add support for the "new" libavcodec vdpau API 2015-05-28 21:56:13 +02:00
rpi.c RPI support 2015-03-29 16:09:56 +02:00
vaapi.c vaapi: allow allocating additional surfaces during decoding 2015-07-15 12:37:28 +02:00
vd.h Update license headers 2015-04-13 12:10:01 +02:00
vd_lavc.c hwdec: add VideoToolbox support 2015-08-05 17:47:30 +02:00
vda.c video: fix VideoToolbox/VDA autodetection 2015-08-17 23:51:31 +02:00
vdpau.c vdpau: add support for the "new" libavcodec vdpau API 2015-05-28 21:56:13 +02:00
videotoolbox.c hwdec: add VideoToolbox support 2015-08-05 17:47:30 +02:00