diff options
author | Dudemanguy <random342@airmail.cc> | 2023-07-12 18:06:33 -0500 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2023-07-22 17:42:25 +0000 |
commit | 61f07975578d70dfbb7ce5ddca8386fa434d3437 (patch) | |
tree | 13d9b920f51e06718612ecdb96be54b62b1b601a /bootstrap.py | |
parent | bddf0efade9e08f8a0e3db0fccf535388de13dea (diff) | |
download | mpv-61f07975578d70dfbb7ce5ddca8386fa434d3437.tar.bz2 mpv-61f07975578d70dfbb7ce5ddca8386fa434d3437.tar.xz |
vd_lavc: respect vd-lavc-software-fallback opt
There's an option that's supposed to stop mpv from falling back to
software decoding if hardware decoding fails. Except that it doesn't
work and can fallback to software decoding anyway. Correct this by
checking if all possible hwdec failed after the loop in
select_and_set_hwdec and that we have this option. If so, flag a bool to
force eof. In decode_frame afterwards, we then simply immediately return
an EOF.
Diffstat (limited to 'bootstrap.py')
0 files changed, 0 insertions, 0 deletions