From b8dfe4234280db7d694852dd980fea86475cd1ae Mon Sep 17 00:00:00 2001 From: Qball Cow Date: Sun, 18 Nov 2007 19:15:10 +0000 Subject: 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 --- src/inputStream_http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/inputStream_http.c') 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; -- cgit v1.2.3