mirror of https://github.com/mpv-player/mpv
demux_timeline: include "dash" hint in reported file format
This commit is contained in:
parent
8ba484f47c
commit
5eb7b7eb04
|
@ -458,7 +458,8 @@ static int d_open(struct demuxer *demuxer, enum demux_check check)
|
||||||
demuxer->seekable = true;
|
demuxer->seekable = true;
|
||||||
demuxer->partially_seekable = false;
|
demuxer->partially_seekable = false;
|
||||||
|
|
||||||
demuxer->filetype = talloc_asprintf(p, "edl/%s",
|
demuxer->filetype = talloc_asprintf(p, "edl/%s%s",
|
||||||
|
p->num_sources && p->sources[0]->dash ? "dash/" : "",
|
||||||
meta->filetype ? meta->filetype : meta->desc->name);
|
meta->filetype ? meta->filetype : meta->desc->name);
|
||||||
|
|
||||||
reselect_streams(demuxer);
|
reselect_streams(demuxer);
|
||||||
|
|
Loading…
Reference in New Issue