Files
mpv/stream/stream_edl.c
T
Kacper Michajłow f152674246 stream_edl: allow opening edl only from local resources
edl is complex and prone to errors. Also there is no good reason for
external network playlist to require edl use.
2025-03-07 14:19:15 +01:00

19 lines
415 B
C

// 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";
return STREAM_OK;
}
const stream_info_t stream_info_edl = {
.name = "edl",
.open = s_open,
.protocols = (const char*const[]){"edl", NULL},
.stream_origin = STREAM_ORIGIN_FS,
};