summaryrefslogtreecommitdiffstats
path: root/stream/stream_edl.c
blob: c74aabf2570b585132c315b85b2934b1f1a45dce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// 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->type = STREAMTYPE_EDL;
    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},
};