summaryrefslogtreecommitdiffstats
path: root/video/sws_utils.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-11-02 23:00:49 +0100
committerwm4 <wm4@nowhere>2019-11-02 23:00:49 +0100
commit67e17f1104761cd27cfa690d1d5f69d99db081ed (patch)
treef250c18d4851ead81d8bc174226b005364a1425b /video/sws_utils.c
parent0e1cfe0c421699ab7fbf6f17b83721d28135a0b8 (diff)
downloadmpv-67e17f1104761cd27cfa690d1d5f69d99db081ed.tar.bz2
mpv-67e17f1104761cd27cfa690d1d5f69d99db081ed.tar.xz
vd_lavc: don't keep packets for fallbacks if errors are tolerated
The user can raise the number of tolerated hardware decoding errors. On the other hand, we have a static limit on packets that are "saved" for fallback handling (and that's a good idea to avoid unbounded memory usage). In this case, it could happen that the start of a file was fine after a fallback, but after that buffered amount of data, it would suddenly skip. It's more useful to skip buffering entirely if the number of tolerated decoding errors exceeds the fixed buffer. (And also, I'm sure nobody gives a shit about this feature.)
Diffstat (limited to 'video/sws_utils.c')
0 files changed, 0 insertions, 0 deletions