1
mirror of https://github.com/mpv-player/mpv synced 2024-10-30 04:46:41 +01:00
mpv/video/decode
wm4 9d69eae162 vd_lavc: always fail decoding immediately if copying hw surface fails
Successful decoding of a frame resets ctx->hwdec_fail_count to 0 - which
us ok, but prevents fallback if it fails if --vd-lavc-software-fallback
is set to something higher than 1.

Just fail it immediately, since failing here always indicates some real
error (or OOM), not e.g. a video parsing error or such, which we try to
tolerate via the error counter.
2017-01-17 15:48:56 +01:00
..
d3d.c win32: build with -DINITGUID 2016-09-28 21:38:52 +10:00
d3d.h d3d: implement screenshots for --hwdec=d3d11va 2016-06-28 20:38:53 +02:00
dec_video.c video: make decoder EOF reporting explicit 2017-01-11 11:02:57 +01:00
dec_video.h player: change aspects of cover art handling 2017-01-10 15:43:02 +01:00
hw_cuda.c build: prefix hwaccel decoder wrapper filenames with hw_ 2017-01-17 08:11:12 +01:00
hw_d3d11va.c build: prefix hwaccel decoder wrapper filenames with hw_ 2017-01-17 08:11:12 +01:00
hw_dxva2.c build: prefix hwaccel decoder wrapper filenames with hw_ 2017-01-17 08:11:12 +01:00
hw_vaapi_old.c build: prefix hwaccel decoder wrapper filenames with hw_ 2017-01-17 08:11:12 +01:00
hw_vaapi.c vaapi: move AVHWFramesContext setup code to common code 2017-01-17 15:48:56 +01:00
hw_vdpau.c vdpau: use libavutil for surface allocation during decoding 2017-01-17 15:48:56 +01:00
hw_videotoolbox.c build: prefix hwaccel decoder wrapper filenames with hw_ 2017-01-17 08:11:12 +01:00
lavc.h vaapi: move AVHWFramesContext setup code to common code 2017-01-17 15:48:56 +01:00
vd_lavc.c vd_lavc: always fail decoding immediately if copying hw surface fails 2017-01-17 15:48:56 +01:00
vd.h video: make decoder EOF reporting explicit 2017-01-11 11:02:57 +01:00