Mercurial > mplayer.hg
changeset 35326:79e7ec4662ee
Removing mmsu-related code
MMSU was never supported by MPlayer, and the protocol has been
deprecated. Since the code is not in use at all, Removing it
should not break anything.
author | upsuper |
---|---|
date | Sat, 10 Nov 2012 23:52:19 +0000 |
parents | d462bb933886 |
children | 891b14e68b02 |
files | stream/asf_streaming.c |
diffstat | 1 files changed, 3 insertions(+), 17 deletions(-) [+] |
line wrap: on
line diff
--- a/stream/asf_streaming.c Sat Nov 10 18:52:13 2012 +0000 +++ b/stream/asf_streaming.c Sat Nov 10 23:52:19 2012 +0000 @@ -63,32 +63,18 @@ } // We can try several protocol for asf streaming -// * first the UDP protcol, if there is a firewall, UDP -// packets will not come back, so the mmsu will fail. -// * Then we can try TCP, but if there is a proxy for +// * First we can try TCP, but if there is a proxy for // internet connection, the TCP connection will not get // through // * Then we can try HTTP. // -// Note: Using WMP sequence MMSU then MMST and then HTTP. +// Note: Using WMP sequence MMST and then HTTP. static int asf_streaming_start( stream_t *stream, int *demuxer_type) { char *proto = stream->streaming_ctrl->url->protocol; int fd = -1; int port = stream->streaming_ctrl->url->port; - // Is protocol mms or mmsu? - /* - if (!strcasecmp(proto, "mmsu") || !strcasecmp(proto, "mms")) - { - mp_msg(MSGT_NETWORK,MSGL_V,"Trying ASF/UDP...\n"); - //fd = asf_mmsu_streaming_start( stream ); - if( fd>-1 ) return fd; //mmsu support is not implemented yet - using this code - mp_msg(MSGT_NETWORK,MSGL_V," ===> ASF/UDP failed\n"); - if( fd==-2 ) return -1; - } - */ - //Is protocol mms or mmst? if (!strcasecmp(proto, "mmst") || !strcasecmp(proto, "mms")) { @@ -860,7 +846,7 @@ "Bertrand, Reimar Doeffinger, Albeu", "originally based on work by Majormms (is that code still there?)", open_s, - {"mms", "mmsu", "mmst", "http", "http_proxy", "mmsh", "mmshttp", NULL}, + {"mms", "mmst", "http", "http_proxy", "mmsh", "mmshttp", NULL}, NULL, 0 // Urls are an option string };