summaryrefslogtreecommitdiff
path: root/package/mplayer/patches/patch-stream_asf_streaming_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-08-01 13:26:08 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-08-01 13:26:08 +0200
commit38e356a749191c1832c9726b0b6cb913737af700 (patch)
treee8649d752a11d05d20615b2d4fd3a506baab516b /package/mplayer/patches/patch-stream_asf_streaming_c
parent2ee33f7b7bb6f36dcee29f7df1e6122b55139e92 (diff)
different make bulkallmod fixes
Diffstat (limited to 'package/mplayer/patches/patch-stream_asf_streaming_c')
-rw-r--r--package/mplayer/patches/patch-stream_asf_streaming_c27
1 files changed, 27 insertions, 0 deletions
diff --git a/package/mplayer/patches/patch-stream_asf_streaming_c b/package/mplayer/patches/patch-stream_asf_streaming_c
new file mode 100644
index 000000000..4fa3b696b
--- /dev/null
+++ b/package/mplayer/patches/patch-stream_asf_streaming_c
@@ -0,0 +1,27 @@
+--- mplayer-1.0-32749.orig/stream/asf_streaming.c 2011-01-03 11:26:52.000000000 +0100
++++ mplayer-1.0-32749/stream/asf_streaming.c 2011-07-29 17:54:35.013424616 +0200
+@@ -38,7 +38,6 @@
+
+ #include "stream.h"
+ #include "libmpdemux/demuxer.h"
+-#include "asf_mmst_streaming.h"
+ #include "network.h"
+ #include "tcp.h"
+
+@@ -87,16 +86,6 @@ static int asf_streaming_start( stream_t
+ if( fd==-2 ) return -1;
+ }
+
+- //Is protocol mms or mmst?
+- if (!strcasecmp(proto, "mmst") || !strcasecmp(proto, "mms"))
+- {
+- mp_msg(MSGT_NETWORK,MSGL_V,"Trying ASF/TCP...\n");
+- fd = asf_mmst_streaming_start( stream );
+- stream->streaming_ctrl->url->port = port;
+- if( fd>-1 ) return fd;
+- mp_msg(MSGT_NETWORK,MSGL_V," ===> ASF/TCP failed\n");
+- if( fd==-2 ) return -1;
+- }
+
+ //Is protocol http, http_proxy, or mms?
+ if (!strcasecmp(proto, "http_proxy") || !strcasecmp(proto, "http") ||