diff options
author | wm4 <wm4@nowhere> | 2020-01-11 22:28:47 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2020-01-11 22:29:53 +0100 |
commit | a009b57c771490e1cb1341140443953279034a61 (patch) | |
tree | 823c1f8145eff83b2fe924c46d4331a9bf84037c /.gitignore | |
parent | a3ddddff3a1eecd36ad7ef2d5db80d45cfbc7a2d (diff) | |
download | mpv-a009b57c771490e1cb1341140443953279034a61.tar.bz2 mpv-a009b57c771490e1cb1341140443953279034a61.tar.xz |
f_hwtransfer: change order in which hwdec upload formats are considered
Basically, instead of trusting the upload format, and picking the first
sw format that has a desired upload format, trust the sw format. So now
we pick the sw format first, and then select from the set of upload
formats supported by it.
This is probably more straightforward, and works around a crash with
vaapi:
mpv 8bit.mkv --vf=format=vaapi --gpu-hwdec-interop=all
(Forces vaapi upload if hw decoding is not enabled.)
Unfortunately, this still does not work, because vaapi, FFmpeg, the VO
interop code, or all of them are doing something stupid. In particular,
this picks the yuv420p sw format, which doesn't really exist despiter
advertised (???????????????????????????????????????), and simply breaks.
See: #7350
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions