mirror of
https://github.com/mpv-player/mpv
synced 2024-12-21 06:14:32 +00:00
d1c37c0e29
Fixes problems with --vo=opengl:interpolation. The issue here is that vo_opengl retains more surfaces than what was preallocated for the decoder. Until now, we just explicitly failed to decode frames for which no additional surfaces are available. Since modern drivers usually are fine with not "registering" surfaces before the decoder is created, just allow allocating additional surfaces if needed. (We also could probably recreate the HW decoder, since the HW decoder should be stateless. But let's try to avoid raising the overall complexity of the code.) |
||
---|---|---|
.. | ||
dec_video.c | ||
dec_video.h | ||
dxva2.c | ||
gpu_memcpy_sse4.h | ||
lavc.h | ||
rpi.c | ||
vaapi.c | ||
vd_lavc.c | ||
vd.h | ||
vda.c | ||
vdpau_old.c | ||
vdpau.c |