mirror of
https://github.com/mpv-player/mpv
synced 2025-03-02 04:11:03 +00:00
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. |
||
---|---|---|
.. | ||
d3d.c | ||
d3d.h | ||
dec_video.c | ||
dec_video.h | ||
hw_cuda.c | ||
hw_d3d11va.c | ||
hw_dxva2.c | ||
hw_vaapi_old.c | ||
hw_vdpau.c | ||
hw_videotoolbox.c | ||
lavc.h | ||
vd_lavc.c | ||
vd.h |