summaryrefslogtreecommitdiffstats
path: root/stream/stream.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-06-19 19:24:01 +0200
committerwm4 <wm4@nowhere>2019-09-19 20:37:05 +0200
commit43fc314279562580c95e558a56a4277f1f7dc5f0 (patch)
treec5f0794b87eaba0c5f2ee145c46509b66cace9f9 /stream/stream.h
parent2b37f9a984cc00374d2506d26967e4a248cceb14 (diff)
downloadmpv-43fc314279562580c95e558a56a4277f1f7dc5f0.tar.bz2
mpv-43fc314279562580c95e558a56a4277f1f7dc5f0.tar.xz
stream: add a generic concat implementation
This is not available to users. It can be used only though the stream_concat_open(). It's unused yet; to be used in the following commit.
Diffstat (limited to 'stream/stream.h')
-rw-r--r--stream/stream.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/stream/stream.h b/stream/stream.h
index 4bd6a7b713..62712503ed 100644
--- a/stream/stream.h
+++ b/stream/stream.h
@@ -179,6 +179,10 @@ char *mp_url_escape(void *talloc_ctx, const char *s, const char *ok);
// stream_memory.c
struct stream *stream_memory_open(struct mpv_global *global, void *data, int len);
+// stream_concat.c
+struct stream *stream_concat_open(struct mpv_global *global, struct mp_cancel *c,
+ struct stream **streams, int num_streams);
+
// stream_file.c
char *mp_file_url_to_filename(void *talloc_ctx, bstr url);
char *mp_file_get_path(void *talloc_ctx, bstr url);