1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-18 04:45:33 +00:00
mpv/stream/stream_edl.c
wm4 559a400ac3 demux, stream: rip out the classic stream cache
The demuxer cache is the only cache now. Might need another change to
combat seeking failures in mp4 etc. The only bad thing is the loss of
cache-speed, which was sort of nice to have.
2018-08-31 12:55:22 +02:00

18 lines
376 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},
};