diff --git a/demux/demux_playlist.c b/demux/demux_playlist.c index 4c0859df3b..94c2ede594 100644 --- a/demux/demux_playlist.c +++ b/demux/demux_playlist.c @@ -685,7 +685,7 @@ static int open_file(struct demuxer *demuxer, enum demux_check check) bstr proto = mp_split_proto(bstr0(demuxer->filename), NULL); // Don't add base path to self-expanding protocols if (bstrcasecmp0(proto, "memory") && bstrcasecmp0(proto, "lavf") && - bstrcasecmp0(proto, "hex")) + bstrcasecmp0(proto, "hex") && bstrcasecmp0(proto, "data")) { playlist_add_base_path(p->pl, mp_dirname(demuxer->filename)); }