]> git.sesse.net Git - vlc/commitdiff
dash: Fix a typo
authorHugo Beauzée-Luyssen <hugo@beauzee.fr>
Tue, 29 May 2012 12:41:35 +0000 (14:41 +0200)
committerHugo Beauzée-Luyssen <hugo@beauzee.fr>
Tue, 29 May 2012 12:41:56 +0000 (14:41 +0200)
modules/stream_filter/dash/xml/DOMParser.cpp

index 21103945d38dc6919d5ad79b076de682bc3465bc..ddbadd60fef159a6512162f3ec4ace0e67d15c8e 100644 (file)
@@ -159,10 +159,10 @@ 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)
         return dash::mpd::BasicCM;
 
-    if(!profile.find("urn:mpeg:dash:profile:isoff-main:2011") != std::string::npos)
+    if(profile.find("urn:mpeg:dash:profile:isoff-main:2011") != std::string::npos)
         return dash::mpd::IsoffMain;
 
     return dash::mpd::UnknownProfile;