diff options
author | wm4 <wm4@nowhere> | 2019-12-18 01:56:29 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2019-12-18 01:56:50 +0100 |
commit | bd96b97170c3332d84381c88e92bbe2a169fae35 (patch) | |
tree | 9c17054db8b537002b6cae0d1a2e401d84160166 /options/m_option.c | |
parent | 06c9c3819959d6dc41602fb16063c019a37eaa72 (diff) | |
download | mpv-bd96b97170c3332d84381c88e92bbe2a169fae35.tar.bz2 mpv-bd96b97170c3332d84381c88e92bbe2a169fae35.tar.xz |
vd_lavc: add gross workaround for nvdec/libavcodec broken API issue
libavcodec's nvdec wrapper can return invalid frames, that do not have
any data fields set. This is not allowed by the API, but why would they
follow their own API?
Add a workaround to specifically detect this situation. In practice,
this should fall back to software decoding if it happens too often in a
row. (But single errors are still tolerated, because I don't know why.)
Untested due to lack of hardware from the regrettable graphics company.
Better do this here than deal with the moronic project we unfortunately
depend on.
See: #7185
Diffstat (limited to 'options/m_option.c')
0 files changed, 0 insertions, 0 deletions