stream_mf: set correct stream origin

mf:// reads files from the local filesystem and should be
subject to the usual security checks mpv has for such protocols.
This commit is contained in:
sfan5 2021-04-05 22:28:50 +02:00 committed by Jan Ekström
parent d0c530919d
commit 9c120dedb3
1 changed files with 1 additions and 0 deletions

View File

@ -39,4 +39,5 @@ const stream_info_t stream_info_mf = {
.name = "mf",
.open = mf_stream_open,
.protocols = (const char*const[]){ "mf", NULL },
.stream_origin = STREAM_ORIGIN_FS,
};