1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-02 04:11:03 +00:00
mpv/video/decode
wm4 6e3fbaba7e decode: fix extra surface count
FFmpeg could crash with vaapi (new) and --vo=opengl + interpolation.

It seems the actual surface count the old vaapi code uses (and which
usually never exceeded the preallocated amount) was higher than what
was used for the new vaapi code, so just correct that. The d3d helpers
also had weird code that bumped the real pool size, fix them as well.

Why this would result in an assertion failure instead of a proper error,
who knows.
2017-02-27 14:41:24 +01:00
..
d3d.c win32: build with -DINITGUID 2016-09-28 21:38:52 +10:00
d3d.h
dec_video.c dec_video, dec_audio: remove redundant NULL-checks 2017-02-20 13:58:18 +01:00
dec_video.h player: add experimental stream recording feature 2017-02-07 17:05:17 +01:00
hw_cuda.c Fix two typos 2017-02-20 08:47:17 +01:00
hw_d3d11va.c decode: fix extra surface count 2017-02-27 14:41:24 +01:00
hw_dxva2.c decode: fix extra surface count 2017-02-27 14:41:24 +01:00
hw_vaapi_old.c decode: fix extra surface count 2017-02-27 14:41:24 +01:00
hw_vdpau.c vdpau: reject decoding of non-4:2:0 2017-01-17 15:48:56 +01:00
hw_videotoolbox.c videotoolbox: remove weird format-negotiation between VO and decoder 2017-02-17 14:14:22 +01:00
lavc.h decode: fix extra surface count 2017-02-27 14:41:24 +01:00
vd_lavc.c vd_lavc: increase verbosity if requested hwaccel is not compiled 2017-02-20 08:41:23 +01:00
vd.h video: make decoder EOF reporting explicit 2017-01-11 11:02:57 +01:00