diff options
author | rtognimp <rtognimp@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-04-25 12:41:01 +0000 |
---|---|---|
committer | rtognimp <rtognimp@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-04-25 12:41:01 +0000 |
commit | 1a4a43962ef29e3b0ed2a0de9b73ca888c411ab9 (patch) | |
tree | b947df33e69ead01c6a5562d4dace080cbdedd3f /libmpdemux | |
parent | 64ff18f48be9819cf56a59f0d1100ad55f76e752 (diff) | |
download | mpv-1a4a43962ef29e3b0ed2a0de9b73ca888c411ab9.tar.bz2 mpv-1a4a43962ef29e3b0ed2a0de9b73ca888c411ab9.tar.xz |
Don't say that a protocol is unsupported if that's not true
Patch by adland
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12274 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r-- | libmpdemux/asf_streaming.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libmpdemux/asf_streaming.c b/libmpdemux/asf_streaming.c index d14fdc5950..4a3825110a 100644 --- a/libmpdemux/asf_streaming.c +++ b/libmpdemux/asf_streaming.c @@ -85,6 +85,9 @@ asf_streaming_start( stream_t *stream, int *demuxer_type) { if( fd==-2 ) return -1; } + if (!strncasecmp( proto_s, "mms", 3) || !strncasecmp( proto_s, "http", 4) || !strncasecmp( proto_s, "mmst", 4) || !strncasecmp( proto_s, "http_proxy", 10) ) + mp_msg(MSGT_NETWORK,MSGL_ERR,"Used protocol %s\n",proto_s ); + else mp_msg(MSGT_NETWORK,MSGL_ERR,"Unknown protocol: %s\n", proto_s ); return -1; } |