From b1a11191fdda06f737ce6d9b25e21fbcc6bb16d1 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 6 Jan 2018 17:52:57 +0100 Subject: demux_null: mark as seekable No reason not to, and enables some strange constructions with --external-file (although the result is not too smooth for certain reasons). --- demux/demux_null.c | 1 + 1 file changed, 1 insertion(+) diff --git a/demux/demux_null.c b/demux/demux_null.c index 1d4f4df794..0ce3ac4af6 100644 --- a/demux/demux_null.c +++ b/demux/demux_null.c @@ -24,6 +24,7 @@ static int try_open_file(struct demuxer *demux, enum demux_check check) if (!bstr_startswith0(bstr0(demux->filename), "null://") && check != DEMUX_CHECK_REQUEST) return -1; + demux->seekable = true; return 0; } -- cgit v1.2.3