mirror of
https://code.videolan.org/videolan/vlc
synced 2024-10-03 01:31:53 +02:00
demux: dash: add default startNumber
fixes regression with some templates https://livesim.dashif.org/livesim/testpic_2s/Manifest.mpd
This commit is contained in:
parent
3a318ede5c
commit
a5fe71de82
@ -100,6 +100,7 @@ MPD * IsoffMainParser::parse()
|
|||||||
parseProgramInformation(DOMHelper::getFirstChildElementByName(root, "ProgramInformation"), mpd);
|
parseProgramInformation(DOMHelper::getFirstChildElementByName(root, "ProgramInformation"), mpd);
|
||||||
parseMPDBaseUrl(mpd, root);
|
parseMPDBaseUrl(mpd, root);
|
||||||
parsePeriods(mpd, root);
|
parsePeriods(mpd, root);
|
||||||
|
mpd->addAttribute(new StartnumberAttr(1));
|
||||||
mpd->debug();
|
mpd->debug();
|
||||||
}
|
}
|
||||||
return mpd;
|
return mpd;
|
||||||
|
Loading…
Reference in New Issue
Block a user