path: root/core/cfg-mplayer.h
diff options
authorwm4 <wm4@nowhere>2013-01-24 16:05:52 +0100
committerwm4 <wm4@nowhere>2013-01-24 17:45:13 +0100
commitdd96c11d5e0166ce6c597d178ee4827193cff16d (patch)
treed6ff3e8af74aebefe3866e8654683e8356ac5214 /core/cfg-mplayer.h
parent570271c7767e924be3d9d347b04508579dfa4d80 (diff)
stream: implement some HTTP specific options for stream_lavf
The "http:" protocol has been switched to use ffmpeg's HTTP implementation some time ago. One problem with this was that many HTTP specific options stopped working, because they were obviously implemented for the internal HTTP implementation only. Add the missing things. Note that many options will work for ffmpeg only, as Libav's HTTP implementation is missing these. They will silently be ignored on Libav. Some options we can't fix: --ipv4-only-proxy, --prefer-ipv4, --prefer-ipv6 As far as I can see, not even libavformat internals distinguish between ipv4 and ipv6. --user, --passwd ffmpeg probably supports specifying these in the URL directly.
Diffstat (limited to 'core/cfg-mplayer.h')
1 files changed, 0 insertions, 13 deletions
diff --git a/core/cfg-mplayer.h b/core/cfg-mplayer.h
index 1cb10d3463..eb3b805622 100644
--- a/core/cfg-mplayer.h
+++ b/core/cfg-mplayer.h
@@ -48,19 +48,6 @@ extern int field_dominance;
/* from dec_audio, currently used for ac3surround decoder only */
extern int fakemono;
-/* defined in network.c */
-extern char *network_username;
-extern char *network_password;
-extern int network_bandwidth;
-extern char *network_useragent;
-extern char *network_referrer;
-extern int network_cookies_enabled;
-extern char *cookies_file;
-extern int network_prefer_ipv4;
-extern int network_ipv4_only_proxy;
-extern int reuse_socket;
extern int dvd_speed; /* stream/stream_dvd.c */
/* defined in demux: */