mirror of https://github.com/mpv-player/mpv
9a6ec9de2f
Until now, we've relied on the following things: - you can send flush packets to the decoder even if it's fully flushed, - you can send new packets to a flushed decoder, - you can send new packers to a partially flushed decoder. ("flushing" refers to sending flush packets to the decoder until the decoder does not return new pictures, not avcodec_flush_buffers().) All of these are questionable. The libavcodec API probably doesn't guarantee that these work well or at all, even though most decoders have no issue with these. But especially with hardware decoding wrappers (like MMAL), real problems can be expected. Isolate us from these corner cases by handling them explicitly. |
||
---|---|---|
.. | ||
dec_video.c | ||
dec_video.h | ||
dxva2.c | ||
lavc.h | ||
rpi.c | ||
vaapi.c | ||
vd.h | ||
vd_lavc.c | ||
vdpau.c | ||
videotoolbox.c |