• Max Kellermann's avatar
    player/Thread: make SEEK (partially) non-blocking · dee378b7
    Max Kellermann authored
    When the decoder is still starting up while we handle a SEEK, finish
    the "player SEEK" immediately and re-enter the player loop, being able
    to handle commands (and even cancel the pending seek).
    
    This is the first part in a series of patches to solve the "blocking
    input blocks decoder, blocks player, blocks the main thread" problem.
    There are many other blocking code locations left, and the main thread
    isn't non-blocking either because it waits for "seeking" to become
    false.
    dee378b7
Name
Last commit
Last update
android Loading commit data...
doc Loading commit data...
m4 Loading commit data...
python/build Loading commit data...
scripts Loading commit data...
src Loading commit data...
systemd Loading commit data...
test Loading commit data...
win32 Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README.md Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
mpd.svg Loading commit data...
valgrind.suppressions Loading commit data...