1
mirror of https://github.com/mpv-player/mpv synced 2024-10-30 04:46:41 +01:00
mpv/video/decode
wm4 163c6ad862 vd_lavc: make hwdec fallback more tolerant
A hw decoder might fail to decode a frame for multiple reasons, and not
always just because decoding is impossible. We can't generally
distinguish these reasons well. Make it more tolerant by accepting
failures of 3 frames, but not more. The threshold can be adjusted by the
repurposed --vd-lavc-software-fallback option.

(This behavior was suggested much earlier in some PR, but at the time
the "proper" hwdec fallback was indistinguishable from decoding error.
With the current situation, "proper" fallback is still instantious.)
2015-11-03 14:03:02 +01:00
..
dec_video.c video: fix base for --no-correct-pts 2015-10-06 18:19:20 +02:00
dec_video.h video: fix base for --no-correct-pts 2015-10-06 18:19:20 +02:00
dxva2.c video: refactor GPU memcpy usage 2015-09-25 19:18:16 +02:00
lavc.h vd_lavc: make hwdec fallback more tolerant 2015-11-03 14:03:02 +01:00
rpi.c vd_lavc: remove unneeded hwdec parameters 2015-08-19 21:33:18 +02:00
vaapi.c vaapi: remove dependency on X11 2015-09-27 21:33:15 +02:00
vd_lavc.c vd_lavc: make hwdec fallback more tolerant 2015-11-03 14:03:02 +01:00
vd.h video: remove codec delay estimation 2015-10-03 22:10:44 +02:00
vdpau.c vdpau: fix uninit when init fails 2015-11-01 23:03:02 +01:00
videotoolbox.c vd_lavc: remove unneeded hwdec parameters 2015-08-19 21:33:18 +02:00