summaryrefslogtreecommitdiffstats
path: root/player/client.h
diff options
context:
space:
mode:
Diffstat (limited to 'player/client.h')
-rw-r--r--player/client.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/player/client.h b/player/client.h
index a9d6cbde52..e8866225a7 100644
--- a/player/client.h
+++ b/player/client.h
@@ -5,6 +5,7 @@
#include <stdbool.h>
#include "libmpv/client.h"
+#include "libmpv/stream_cb.h"
struct MPContext;
struct mpv_handle;
@@ -46,4 +47,7 @@ struct mpv_opengl_cb_context *mp_opengl_create(struct mpv_global *g,
struct mp_client_api *client_api);
void kill_video(struct mp_client_api *client_api);
+bool mp_streamcb_lookup(struct mpv_global *g, const char *protocol,
+ void **out_user_data, mpv_stream_cb_open_ro_fn *out_fn);
+
#endif