summaryrefslogtreecommitdiffstats
path: root/player/video.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-05-19 23:23:17 +0200
committerwm4 <wm4@nowhere>2015-05-19 23:23:17 +0200
commit402fe381d7a94c8596d1bed0c8e089b08a298e85 (patch)
tree1dad5b4b75d46a226458f757bf49d721353071db /player/video.c
parent36529bc6f7a777899d06c6bb80b40b4e7a886464 (diff)
downloadmpv-402fe381d7a94c8596d1bed0c8e089b08a298e85.tar.bz2
mpv-402fe381d7a94c8596d1bed0c8e089b08a298e85.tar.xz
audio: fix resync issue different
Commit 10915000 attempted to fix wasting CPU when resyncing and no new data was actually coming from the demuxer. The fix assumed that at this point it would have reached the sync point, but since the code attempts weird incremental decoding, this wasn't actually true. So it broke seeking in addition to removing the CPU waste. Try something else. This time, we essentially only wakeup again if data was read (i.e. audio_decode() returned successfully).
Diffstat (limited to 'player/video.c')
0 files changed, 0 insertions, 0 deletions