summaryrefslogtreecommitdiffstats
path: root/stream/stream_edl.c
blob: 11c149b3ab196484921dc71f706924c8d3ca5be9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// 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)
{
    stream->demuxer = "edl";
    stream->allow_caching = false;

    return STREAM_OK;
}

const stream_info_t stream_info_edl = {
    .name = "edl",
    .open = s_open,
    .protocols = (const char*const[]){"edl", NULL},
};