diff options
author | Max Kellermann <max@duempel.org> | 2009-01-21 16:17:57 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-01-21 16:17:57 +0100 |
commit | b14e48f930c89bf2f097cf270040316e2b7a4623 (patch) | |
tree | f9ef1d5bcf79d0d2018e2ab90e9f414b9bc6e95d /src/output_control.h | |
parent | 2362ee4a4897502b3ccedf7af31d6d1ad89cff8e (diff) | |
download | mpd-b14e48f930c89bf2f097cf270040316e2b7a4623.tar.gz mpd-b14e48f930c89bf2f097cf270040316e2b7a4623.tar.xz mpd-b14e48f930c89bf2f097cf270040316e2b7a4623.zip |
player_thread: request next song only if new one starts playing
The player_thread loop requests the next song from the playlist as
soon as the decoder finishes the song which is currently being played.
This is superfluous, and can lead to synchronization errors and wrong
results. The playlist already knows when the player starts playing
the next song (player_wait_for_decoder() triggers the PLAYLIST event),
and will then trigger the scheduler to provide the next song.
Diffstat (limited to 'src/output_control.h')
0 files changed, 0 insertions, 0 deletions