diff options
author | Max Kellermann <max@duempel.org> | 2009-01-17 11:43:13 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-01-17 11:46:31 +0100 |
commit | d83eff80a51d7111f3df28dcc65fab9ebdf61632 (patch) | |
tree | 050b9a02f7b3a8cdf299e05faafcfd80261d3759 /src/decoder_control.h | |
parent | da6f8c270a6f8affddc4ad9fd239cf20fa8c12a4 (diff) | |
download | mpd-d83eff80a51d7111f3df28dcc65fab9ebdf61632.tar.gz mpd-d83eff80a51d7111f3df28dcc65fab9ebdf61632.tar.xz mpd-d83eff80a51d7111f3df28dcc65fab9ebdf61632.zip |
oggvorbis: disable seeking on remote songs
When libvorbis knows that a song is seekable, it seeks around like
crazy in the file before starting to decode it. This is very
expensive on remote HTTP resources, and delays MPD for 10 or 20
seconds.
This patch disables seeking on remote songs, because the advantages of
quickly playing a song seem to weigh more than the theoretical ability
of seeking for most MPD users. If users feel this feature is needed,
we will make a configuration option for that.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions