summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorDudemanguy <random342@airmail.cc>2023-07-12 18:06:33 -0500
committerDudemanguy <random342@airmail.cc>2023-07-22 17:42:25 +0000
commit61f07975578d70dfbb7ce5ddca8386fa434d3437 (patch)
tree13d9b920f51e06718612ecdb96be54b62b1b601a /.github
parentbddf0efade9e08f8a0e3db0fccf535388de13dea (diff)
downloadmpv-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 '.github')
0 files changed, 0 insertions, 0 deletions