mirror of
https://github.com/mpv-player/mpv
synced 2024-12-22 23:02:37 +00:00
04bdd7af72
Questionable change from user perspective, but internally needed to implement the next commit. Also useful for testing timeline stuff.
22 lines
475 B
C
22 lines
475 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, int mode)
|
|
{
|
|
if (mode != STREAM_READ)
|
|
return STREAM_ERROR;
|
|
|
|
stream->type = STREAMTYPE_EDL;
|
|
stream->demuxer = "edl";
|
|
|
|
return STREAM_OK;
|
|
}
|
|
|
|
const stream_info_t stream_info_edl = {
|
|
.name = "edl",
|
|
.open = s_open,
|
|
.protocols = (const char*[]){"edl", NULL},
|
|
};
|