1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-25 08:12:17 +00:00
mpv/video
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
..
decode vd_lavc: always fail decoding immediately if copying hw surface fails 2017-01-17 15:48:56 +01:00
filter video: support filtering hardware frames via libavfilter 2017-01-16 16:10:39 +01:00
out vdpau: use libavutil for surface allocation during decoding 2017-01-17 15:48:56 +01:00
csputils.c Remove compatibility things 2016-12-07 19:53:11 +01:00
csputils.h demux: expose demuxer colorimetry metadata to player 2016-11-08 19:16:26 +01:00
fmt-conversion.c Remove compatibility things 2016-12-07 19:53:11 +01:00
fmt-conversion.h
gpu_memcpy.c Fix misspellings 2016-06-26 13:47:21 +02:00
gpu_memcpy.h
hwdec.c video: refactor how VO exports hwdec device handles 2016-05-09 20:03:22 +02:00
hwdec.h hwdec: add a AVBufferRef(AVHWDeviceContext) field 2017-01-16 16:10:22 +01:00
image_writer.c Remove compatibility things 2016-12-07 19:53:11 +01:00
image_writer.h vo_image: move to global options 2016-09-05 21:04:55 +02:00
img_format.c Remove compatibility things 2016-12-07 19:53:11 +01:00
img_format.h vo_opengl: hwdec_cuda: Support P016 output surfaces 2016-11-22 20:19:58 +01:00
img_fourcc.h
mp_image_pool.c mp_image_pool: fix build on Libav 2017-01-12 14:19:16 +01:00
mp_image_pool.h vaapi: use libavutil functions for copying hw surfaces to memory 2017-01-12 13:58:28 +01:00
mp_image.c vd_lavc, mp_image: remove code duplication for AVFrame<->mp_image 2017-01-12 13:58:28 +01:00
mp_image.h video: use demuxer-signaled duration for last video frame 2016-12-21 18:18:24 +01:00
sws_utils.c mp_image: split colorimetry metadata into its own struct 2016-07-03 19:42:52 +02:00
sws_utils.h
vaapi.c hwdec: add a AVBufferRef(AVHWDeviceContext) field 2017-01-16 16:10:22 +01:00
vaapi.h vaapi: always create AVHWDeviceContext on init 2017-01-13 13:35:31 +01:00
vdpau_functions.inc
vdpau_mixer.c vo_opengl: vdpau: fix certain cases of preemption recovery failures 2016-05-03 13:56:11 +02:00
vdpau_mixer.h vo_opengl: vdpau: fix certain cases of preemption recovery failures 2016-05-03 13:56:11 +02:00
vdpau.c vdpau: use libavutil for surface allocation during decoding 2017-01-17 15:48:56 +01:00
vdpau.h vdpau: use libavutil for surface allocation during decoding 2017-01-17 15:48:56 +01:00