[vlc-commits] dash: Handle multiple names for profile "urn:mpeg:dash:profile: isoff-on-demand:2011"
Hugo Beauzée-Luyssen
git at videolan.org
Wed May 30 12:08:23 CEST 2012
vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Tue May 29 18:23:28 2012 +0200| [907c50426aca528d8d6184de96a34ab0a8aba576] | committer: 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.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=907c50426aca528d8d6184de96a34ab0a8aba576
---
modules/stream_filter/dash/xml/DOMParser.cpp | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/modules/stream_filter/dash/xml/DOMParser.cpp b/modules/stream_filter/dash/xml/DOMParser.cpp
index ddbadd6..f1eac4b 100644
--- a/modules/stream_filter/dash/xml/DOMParser.cpp
+++ b/modules/stream_filter/dash/xml/DOMParser.cpp
@@ -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)
More information about the vlc-commits
mailing list