aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorQball Cow <qball@qballcow.nl>2007-11-18 19:15:10 +0000
committerQball Cow <qball@qballcow.nl>2007-11-18 19:15:10 +0000
commitb8dfe4234280db7d694852dd980fea86475cd1ae (patch)
tree0b23ab4b1ca1bff723843b8c5aec5e043ad86242 /src
parentb11fe8e934d8ab3fc9a8afd812fdfa6528260d47 (diff)
downloadmpd-b8dfe4234280db7d694852dd980fea86475cd1ae.tar.gz
mpd-b8dfe4234280db7d694852dd980fea86475cd1ae.tar.xz
mpd-b8dfe4234280db7d694852dd980fea86475cd1ae.zip
Disable seeking on streams, because of bug 1611. When playing ogg, the decoder seeks through the file then starts to play. This does not mix well with streams from websites. Stopping playback of an oggstream that is trying to stream will result in mpd hanging.
git-svn-id: https://svn.musicpd.org/mpd/trunk@7039 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/inputStream_http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inputStream_http.c b/src/inputStream_http.c
index 515b76ca6..61e06d904 100644
--- a/src/inputStream_http.c
+++ b/src/inputStream_http.c
@@ -554,7 +554,7 @@ static int getHTTPHello(InputStream * inStream)
inStream->seekable = 0;
rc = atoi(cur + 9);
} else if (0 == strncmp(cur, "HTTP/1.1 ", 9)) {
- inStream->seekable = 1;
+ inStream->seekable = 0;
rc = atoi(cur + 9);
} else if (0 == strncmp(cur, "ICY 200 OK", 10)) {
inStream->seekable = 0;