mirror of
https://github.com/mpv-player/mpv
synced 2024-11-14 22:48:35 +01:00
e00e9d651b
When showing cover art, the decoding logic pretends that the source has an infinite number of frames. This slightly simplifies dealing with filter data flow. It was done by feeding the same packet repeatedly to the decoder (each decode run produces new output). Change this by decoding once at the video initialization. This is easier to follow, and increases robustness in case of broken images. Usually, we try to tolerate decoding errors, so decoding normally continues, but in this case it would just burn the CPU for no reason. Fixes #2056. |
||
---|---|---|
.. | ||
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 |