diff options
Diffstat (limited to 'stream/stream_lavf.c')
-rw-r--r-- | stream/stream_lavf.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/stream/stream_lavf.c b/stream/stream_lavf.c index 6e5f70ae83..4c7e5a7c40 100644 --- a/stream/stream_lavf.c +++ b/stream/stream_lavf.c @@ -152,6 +152,8 @@ static int open_f(stream_t *stream, int mode, void *opts, int *file_format) stream->write_buffer = write_buffer; stream->control = control; stream->close = close_f; + // enable cache (should be avoided for files, but no way to detect this) + stream->streaming = true; res = STREAM_OK; out: @@ -164,7 +166,7 @@ const stream_info_t stream_info_ffmpeg = { "", "", open_f, - { "lavf", "ffmpeg", "rtmp", "rtsp", NULL }, + { "lavf", "ffmpeg", "rtmp", "rtsp", "http", "https", NULL }, NULL, 1 // Urls are an option string }; |