1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-02 21:12:23 +00:00
mpv/video/decode
wm4 0a406f97e0 video, audio: don't actively wait for demuxer input
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 33e5755c.
2018-01-09 09:19:56 +01:00
..
dec_video.c video, audio: don't actively wait for demuxer input 2018-01-09 09:19:56 +01:00
dec_video.h video, audio: always read all frames before getting next packet 2018-01-01 23:17:56 -08:00
vd_lavc.c demux_mkv: add hack to pass along x264 version to decoder 2017-12-28 00:59:22 -07:00
vd.h vd, vd_lavc: change license to LGPL (almost) 2017-06-15 16:32:47 +02:00