mirror of
https://github.com/mpv-player/mpv
synced 2024-12-30 11:02:10 +00:00
fb9a32977d
Because it's kind of dumb. (But not sure if it was worth the trouble.) For stream_file.c, we add new explicit fields. The rest are rather special uses and can be killed by comparing the stream impl. name. The changes to DVD/BD/CD/TV are entirely untested.
19 lines
411 B
C
19 lines
411 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";
|
|
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},
|
|
};
|