summaryrefslogtreecommitdiffstats
path: root/mixer.h
diff options
context:
space:
mode:
authorUoti Urpala <uau@mplayer2.org>2012-03-15 01:24:52 +0200
committerUoti Urpala <uau@mplayer2.org>2012-03-19 23:05:02 +0200
commit7040968be41cab1a9aa6129afe7c76129c74c2f8 (patch)
treef3e8f57739f2f7af318f0e812ce3014d638ede17 /mixer.h
parent06c702ec5258bcdd5a5fbf7c879bfc7e2705cbf8 (diff)
downloadmpv-7040968be41cab1a9aa6129afe7c76129c74c2f8.tar.bz2
mpv-7040968be41cab1a9aa6129afe7c76129c74c2f8.tar.xz
core: restructure main play loop, continue audio after video
Restructure parts of the code in the main play loop. The main functionality difference is that if a video track ends first, now audio will continue to be played until it ends too. Now the process also wakes up less often if there's no need to update video or audio. This will reduce unnecessary wakeups especially when paused, but may make handling of input events laggier when fd-based notifications are not supported (like most input on Windows).
Diffstat (limited to 'mixer.h')
0 files changed, 0 insertions, 0 deletions