1
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:
Francois Cartegnie 2022-02-28 18:02:48 +01:00 committed by Jean-Baptiste Kempf
parent 3a318ede5c
commit a5fe71de82

View File

@ -100,6 +100,7 @@ MPD * IsoffMainParser::parse()
parseProgramInformation(DOMHelper::getFirstChildElementByName(root, "ProgramInformation"), mpd);
parseMPDBaseUrl(mpd, root);
parsePeriods(mpd, root);
mpd->addAttribute(new StartnumberAttr(1));
mpd->debug();
}
return mpd;