1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-30 11:02:10 +00:00

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 2018-01-06 17:52:57 +01:00 committed by Kevin Mitchell
parent 34cf655ddd
commit b1a11191fd

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;
}