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
This commit is contained in:
parent
b11fe8e934
commit
b8dfe42342
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user