mirror of
https://github.com/mpv-player/mpv
synced 2024-07-15 22:21:38 +02:00
![]() 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. |
||
---|---|---|
.. | ||
vd_lavc.c |