Commit 907c5042 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

dash: Handle multiple names for profile "urn:mpeg:dash:profile:isoff-on-demand:2011"

The first version was used during some testing phase and should probably
be removed at a point.
The second one is an alternate spelling.
parent 25612659
......@@ -159,7 +159,9 @@ Profile DOMParser::getProfile ()
const std::string profile = this->root->getAttributeValue("profiles");
if(profile.find("urn:mpeg:mpegB:profile:dash:isoff-basic-on-demand:cm") != std::string::npos)
if(profile.find("urn:mpeg:mpegB:profile:dash:isoff-basic-on-demand:cm") != std::string::npos ||
profile.find("urn:mpeg:dash:profile:isoff-ondemand:2011") != std::string::npos ||
profile.find("urn:mpeg:dash:profile:isoff-on-demand:2011") != std::string::npos)
return dash::mpd::BasicCM;
if(profile.find("urn:mpeg:dash:profile:isoff-main:2011") != std::string::npos)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment