diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-11-02 17:15:14 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-11-02 17:15:14 +0000 |
commit | 863a334a9f3f009917b17759f27e655c295869cb (patch) | |
tree | aa99ee3b9e5a77fbec044879c76b08d6001462c5 /stream/network.c | |
parent | 6818a5e843584e9d0903c8465b3fcc6df9c4c21b (diff) | |
download | mpv-863a334a9f3f009917b17759f27e655c295869cb.tar.bz2 mpv-863a334a9f3f009917b17759f27e655c295869cb.tar.xz |
Add a noicyx:// protocol to allow easier testing for misconfigured servers.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27881 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream/network.c')
-rw-r--r-- | stream/network.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/stream/network.c b/stream/network.c index 6e000c07f2..ccea73ed63 100644 --- a/stream/network.c +++ b/stream/network.c @@ -205,6 +205,7 @@ http_send_request( URL_t *url, off_t pos ) { else http_set_field( http_hdr, "User-Agent: MPlayer/"VERSION); + if( strcasecmp(url->protocol, "noicyx") ) http_set_field(http_hdr, "Icy-MetaData: 1"); if(pos>0) { |