demux_timeline: include "dash" hint in reported file format

This commit is contained in:
wm4 2019-01-05 14:25:16 +01:00
parent 8ba484f47c
commit 5eb7b7eb04
1 changed files with 2 additions and 1 deletions

View File

@ -458,7 +458,8 @@ static int d_open(struct demuxer *demuxer, enum demux_check check)
demuxer->seekable = true;
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);
reselect_streams(demuxer);