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:
1 parent
34cf655ddd
commit
b1a11191fd
1 file changed
+1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user