mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-29 07:06:59 +08:00
Add missing authentication for asf streaming.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6671 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
@@ -469,6 +469,7 @@ asf_http_request(streaming_ctrl_t *streaming_ctrl) {
|
||||
http_hdr = http_new_header();
|
||||
http_set_field( http_hdr, "Accept: */*" );
|
||||
http_set_field( http_hdr, "User-Agent: NSPlayer/4.1.0.3856" );
|
||||
http_add_basic_authentication( http_hdr, url->username, url->password );
|
||||
|
||||
// Check if we are using a proxy
|
||||
if( !strcasecmp( url->protocol, "http_proxy" ) ) {
|
||||
|
||||
Reference in New Issue
Block a user