summaryrefslogtreecommitdiffstats
path: root/stream/stream_edl.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream/stream_edl.c')
-rw-r--r--stream/stream_edl.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/stream/stream_edl.c b/stream/stream_edl.c
new file mode 100644
index 0000000000..8f9c5a90af
--- /dev/null
+++ b/stream/stream_edl.c
@@ -0,0 +1,21 @@
+// Dummy stream implementation to enable demux_edl, which is in turn a
+// dummy demuxer implementation to enable tl_edl.
+
+#include "stream.h"
+
+static int s_open (struct stream *stream, int mode)
+{
+ if (mode != STREAM_READ)
+ return STREAM_ERROR;
+
+ stream->type = STREAMTYPE_EDL;
+ stream->demuxer = "edl";
+
+ return STREAM_OK;
+}
+
+const stream_info_t stream_info_edl = {
+ .name = "edl",
+ .open = s_open,
+ .protocols = (const char*[]){"edl", NULL},
+};