diff options
author | wm4 <wm4@nowhere> | 2016-09-08 21:46:48 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-09-08 21:46:48 +0200 |
commit | 5e30e7a04125e3c503160a76bbfe9361bff561fd (patch) | |
tree | 6aa17c781f70382471e331e4e9754aaf45ebe64b /stream/stream.h | |
parent | 35e8b6c1e68ae936ca0aeee4f30732cd13ef9932 (diff) | |
download | mpv-5e30e7a04125e3c503160a76bbfe9361bff561fd.tar.bz2 mpv-5e30e7a04125e3c503160a76bbfe9361bff561fd.tar.xz |
stream_dvd, stream_dvdnav: remove weird option parsing stuff
Same deal as with stream_bluray.
Untested because I don't give a fuck about your shitty DVDs.
Diffstat (limited to 'stream/stream.h')
-rw-r--r-- | stream/stream.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/stream/stream.h b/stream/stream.h index 9ee1df25aa..90545da087 100644 --- a/stream/stream.h +++ b/stream/stream.h @@ -296,6 +296,13 @@ void mp_setup_av_network_options(struct AVDictionary **dict, struct mpv_global *global, struct mp_log *log); +// sort-of legacy handling of options-in-stream-URL +#define URL_USERNAME 0 +#define URL_HOSTNAME 1 +#define URL_PORT 2 +#define URL_FILENAME 3 +void mp_parse_legacy_url(bstr url, bstr components[4]); + void stream_print_proto_list(struct mp_log *log); char **stream_get_proto_list(void); bool stream_has_proto(const char *proto); |