From 5e30e7a04125e3c503160a76bbfe9361bff561fd Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 8 Sep 2016 21:46:48 +0200 Subject: 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. --- stream/stream.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'stream/stream.h') 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); -- cgit v1.2.3