summaryrefslogtreecommitdiffstats
path: root/ta
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2020-01-11 22:41:38 +0100
committerwm4 <wm4@nowhere>2020-01-11 22:45:42 +0100
commit7555e2a42afbff37fd0f226442f07ca862325af8 (patch)
tree981a68f6624f2409b421be82308e22e9301779fd /ta
parenta009b57c771490e1cb1341140443953279034a61 (diff)
downloadmpv-7555e2a42afbff37fd0f226442f07ca862325af8.tar.bz2
mpv-7555e2a42afbff37fd0f226442f07ca862325af8.tar.xz
f_hwtransfer: whitelist vaapi formats that actually appear to work
(Oh yes, we could have skipped all the complexity, and hardcoded the cases that work in the first place. This wouldn't be an issue if FFmpeg or libva exported correct information. Also possible that FFmpeg's filter chain does not allow to do this correctly in the first place, since filters expose next to no meta information about what hw formats etc. they need.) Note that uploading yuv420p to a nv12 vaapi surface actually works, but the blacklist excludes it. So this might get a bit slower. I'm not bothering with this case because it's rarely needed, and the blacklist specification would become a bit more complex if you had to specify sw/upload format pairs. Fixes: #7350
Diffstat (limited to 'ta')
0 files changed, 0 insertions, 0 deletions