aboutsummaryrefslogtreecommitdiffstats
path: root/src/inputStream_http.c
diff options
context:
space:
mode:
authorQball Cow <qball@qballcow.nl>2007-11-28 14:06:03 +0000
committerQball Cow <qball@qballcow.nl>2007-11-28 14:06:03 +0000
commite1571cc70590929eedce2a6f7ae045f78484435f (patch)
treef7f8d44895a1034d3df2acc880db11094a29ff89 /src/inputStream_http.c
parent4447ce5065620b9b9a2a095dc8f9536fbf2dfbd7 (diff)
downloadmpd-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 'src/inputStream_http.c')
-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 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;