1
mirror of https://github.com/mpv-player/mpv synced 2024-07-15 22:21:38 +02:00
mpv/video/decode
Kacper Michajłow fc3e28f1e9 vd_lavc: fix delay_queue for videos with frames < max_delay_queue
In case there are no packets from demuxer we cannot send EAGAIN, because
we will not proceed and get stuck with one frame in queue and never
output it. Just respect avcodec_receive_frame ret code and act
accordingly. The only case to care about is EOF when we have to drain
already queued frames.

Fixes playback of 1-2 frame videos.
2023-07-09 11:59:32 +02:00
..
vd_lavc.c vd_lavc: fix delay_queue for videos with frames < max_delay_queue 2023-07-09 11:59:32 +02:00