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).
This commit is contained in:
wm4 authored and Kevin Mitchell committed 2018-01-06 14:42:22 -08:00
1 parent 34cf655ddd
commit b1a11191fd
1 file changed
+1
+1
View File
@@ -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;
}