summaryrefslogtreecommitdiffstats
path: root/stream/stream.h
diff options
context:
space:
mode:
authorAman Gupta <aman@tmm1.net>2016-08-07 18:10:05 +0200
committerwm4 <wm4@nowhere>2016-08-07 19:33:20 +0200
commit7ca4a453e03d76621c7740b71ba17157c7756737 (patch)
treead29dc38fdd7719dfd536efca12e924afdc650b1 /stream/stream.h
parent52a0cbe4568afd11ad2e24596f81712ff508112d (diff)
downloadmpv-7ca4a453e03d76621c7740b71ba17157c7756737.tar.bz2
mpv-7ca4a453e03d76621c7740b71ba17157c7756737.tar.xz
client API: add stream_cb API for user-defined stream implementations
Based on #2630. Some heavy changes by committer. Signed-off-by: wm4 <wm4@nowhere>
Diffstat (limited to 'stream/stream.h')
-rw-r--r--stream/stream.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/stream/stream.h b/stream/stream.h
index 21e497e563..1112e09f50 100644
--- a/stream/stream.h
+++ b/stream/stream.h
@@ -299,5 +299,6 @@ void mp_setup_av_network_options(struct AVDictionary **dict,
void stream_print_proto_list(struct mp_log *log);
char **stream_get_proto_list(void);
+bool stream_has_proto(const char *proto);
#endif /* MPLAYER_STREAM_H */