mirror of
https://github.com/mpv-player/mpv
synced 2024-12-25 08:12:17 +00:00
0a406f97e0
If feed_packet() ended with DATA_WAIT, the player should have gone to
sleep, until the demuxer wakes it up again when there is new data. But
the call to read_frame() unconditionally overwrote this status code, so
it never waited. The consequence was that the core burned CPU by
effectively polling the demuxer status, which was noticeable especially
when seeking in network streams (since seeking is async, decoders will
start out with having to wait for network).
Regression since commit
|
||
---|---|---|
.. | ||
ad_lavc.c | ||
ad_spdif.c | ||
ad.h | ||
dec_audio.c | ||
dec_audio.h |