mirror of https://github.com/mpv-player/mpv
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.h | ||
ad_lavc.c | ||
ad_spdif.c | ||
dec_audio.c | ||
dec_audio.h |