1
mirror of https://github.com/mpv-player/mpv synced 2024-11-14 22:48:35 +01:00
mpv/video/decode
wm4 e00e9d651b player: make decoding cover art more robust
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.
2015-06-18 18:39:46 +02:00
..
dec_video.c player: make decoding cover art more robust 2015-06-18 18:39:46 +02:00
dec_video.h player: make decoding cover art more robust 2015-06-18 18:39:46 +02:00
dxva2.c dxva2: support HEVC 2015-05-14 17:44:48 +02:00
gpu_memcpy_sse4.h dxva2: gpu_memcpy: fix build for GCC 4.8.3 2014-10-26 13:56:41 +01:00
lavc.h vdpau: add support for the "new" libavcodec vdpau API 2015-05-28 21:56:13 +02:00
rpi.c RPI support 2015-03-29 16:09:56 +02:00
vaapi.c vaapi: remove direct mapping non-sense 2015-05-29 16:28:55 +02:00
vd_lavc.c vd_lavc: fix a hw decoding fallback case 2015-05-29 14:17:51 +02:00
vd.h Update license headers 2015-04-13 12:10:01 +02:00
vda.c vda: add support for nv12 image formats 2015-05-13 19:57:39 +02:00
vdpau_old.c video: rename vdpau.c to vdpau_old.c 2015-05-28 21:56:09 +02:00
vdpau.c vdpau: add support for the "new" libavcodec vdpau API 2015-05-28 21:56:13 +02:00