diff options
author | Qball Cow <qball@qballcow.nl> | 2007-11-28 14:06:03 +0000 |
---|---|---|
committer | Qball Cow <qball@qballcow.nl> | 2007-11-28 14:06:03 +0000 |
commit | e1571cc70590929eedce2a6f7ae045f78484435f (patch) | |
tree | f7f8d44895a1034d3df2acc880db11094a29ff89 /src/inputStream_http.c | |
parent | 4447ce5065620b9b9a2a095dc8f9536fbf2dfbd7 (diff) | |
download | mpd-e1571cc70590929eedce2a6f7ae045f78484435f.tar.gz mpd-e1571cc70590929eedce2a6f7ae045f78484435f.tar.xz mpd-e1571cc70590929eedce2a6f7ae045f78484435f.zip |
Re-enable seeking in http streams.
Fixing stopping mpd from block when trying to stop a ogg stream that is buffering.
git-svn-id: https://svn.musicpd.org/mpd/trunk@7053 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r-- | src/inputStream_http.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inputStream_http.c b/src/inputStream_http.c index 71f4a6f45..80b908a2e 100644 --- a/src/inputStream_http.c +++ b/src/inputStream_http.c @@ -558,7 +558,7 @@ static int getHTTPHello(InputStream * inStream) inStream->seekable = 0; rc = atoi(cur + 9); } else if (0 == strncmp(cur, "HTTP/1.1 ", 9)) { - inStream->seekable = 0; + inStream->seekable = 1; rc = atoi(cur + 9); } else if (0 == strncmp(cur, "ICY 200 OK", 10)) { inStream->seekable = 0; |