diff options
author | wm4 <wm4@nowhere> | 2015-08-17 23:49:07 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-08-17 23:51:31 +0200 |
commit | 6894858bf23d48f62cb28b309481cded8bcd43b4 (patch) | |
tree | 7042f0a72fd035e4c3a3fd61e11c6159d4330290 /libmpv/mpv.pc.in | |
parent | 2b280f4522a288429253b396b778d60ed018312c (diff) | |
download | mpv-6894858bf23d48f62cb28b309481cded8bcd43b4.tar.bz2 mpv-6894858bf23d48f62cb28b309481cded8bcd43b4.tar.xz |
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.
Diffstat (limited to 'libmpv/mpv.pc.in')
0 files changed, 0 insertions, 0 deletions