[MPlayer-cvslog] r32807 - trunk/stream/http.c

reimar subversion at mplayerhq.hu
Thu Jan 20 20:08:33 CET 2011


Author: reimar
Date: Thu Jan 20 20:08:32 2011
New Revision: 32807

Log:
100l, fix hack to check for MakeMKV server being inverted.

Modified:
   trunk/stream/http.c

Modified: trunk/stream/http.c
==============================================================================
--- trunk/stream/http.c	Thu Jan 20 13:55:37 2011	(r32806)
+++ trunk/stream/http.c	Thu Jan 20 20:08:32 2011	(r32807)
@@ -740,7 +740,8 @@ static int http_streaming_start(stream_t
 		    const char *server = http_get_field(http_hdr, "Server");
 		    if (accept_ranges)
 			seekable = strncmp(accept_ranges,"bytes",5)==0;
-		    else if (server && (strcmp(server, "gvs 1.0") == 0 || strncmp(server, "MakeMKV", 7))) {
+		    else if (server && (strcmp(server, "gvs 1.0") == 0 ||
+		                        strncmp(server, "MakeMKV", 7) == 0)) {
 			// HACK for youtube and MakeMKV incorrectly claiming not to support seeking
 			mp_msg(MSGT_NETWORK, MSGL_WARN, "Broken webserver, incorrectly claims to not support Accept-Ranges\n");
 			seekable = 1;


More information about the MPlayer-cvslog mailing list