demux_playlist: use STREAM_READ_FILE_FLAGS_DEFAULT

This commit is contained in:
nanahi 2024-10-21 09:41:26 -04:00 committed by Avi Halachmi
parent dc0d99eaff
commit dd23bf1555
1 changed files with 1 additions and 2 deletions

View File

@ -534,8 +534,7 @@ static int parse_dir(struct pl_parser *p)
}
break;
}
int flags = STREAM_ORIGIN_DIRECT | STREAM_READ | STREAM_LOCAL_FS_ONLY |
STREAM_LESS_NOISE;
int flags = STREAM_READ_FILE_FLAGS_DEFAULT;
bstr dir = mp_dirname(p->real_stream->url);
if (!dir.len)
autocreate = AUTO_NONE;