mpv/video/decode
wm4 6640b22a8c video: allow the decoder to consume packets partially
This is in preparation for a hypothetical API change in libavcodec,
which would allow the decoder to return multiple video frames before
accepting a new input packet.

In theory, the body of the if() added to vd_lavc.c could be replaced
with this code:

    packet->buffer += ret;
    packet->len    -= ret;

but currently this is not needed, as libavformat already outputs one
frame per packet. Also, using libavcodec this way could lead to a
"deadlock" if the decoder refuses to consume e.g. garbage padding, so
enabling this now would introduce bugs.

(Adding this now for easier testing, and for symmetry with the audio
code.)
2016-02-19 18:50:14 +01:00
..
dec_video.c video: allow the decoder to consume packets partially 2016-02-19 18:50:14 +01:00
dec_video.h Rewrite ordered chapters and timeline stuff 2016-02-15 21:04:07 +01:00
dxva2.c dxva2: add interop (non-copyback) hwdec_type 2016-02-17 06:59:02 -08:00
lavc.h vd_lavc: remove redundant best_csp field 2016-02-03 21:31:53 +01:00
rpi.c rpi: add VC-1 support 2016-01-28 11:23:23 +01:00
vaapi.c vaapi: lower number of allocated surfaces again 2016-01-26 14:05:54 +01:00
vd.h video: approximate AVI timestamps via DTS handling 2016-02-11 16:14:30 +01:00
vd_lavc.c video: allow the decoder to consume packets partially 2016-02-19 18:50:14 +01:00
vdpau.c vdpau: force driver to report preemption early 2016-01-25 16:45:18 +01:00
videotoolbox.c Change 3 more files to LGPL 2016-01-20 15:43:56 +01:00