[vlc-commits] dash: Fix a typo
    Hugo Beauzée-Luyssen 
    git at videolan.org
       
    Tue May 29 14:42:00 CEST 2012
    
    
  
vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Tue May 29 14:41:35 2012 +0200| [d08a29a37162b6ddd0df51d4b7c584ced05bef17] | committer: Hugo Beauzée-Luyssen
dash: Fix a typo
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d08a29a37162b6ddd0df51d4b7c584ced05bef17
---
 modules/stream_filter/dash/xml/DOMParser.cpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/stream_filter/dash/xml/DOMParser.cpp b/modules/stream_filter/dash/xml/DOMParser.cpp
index 2110394..ddbadd6 100644
--- a/modules/stream_filter/dash/xml/DOMParser.cpp
+++ b/modules/stream_filter/dash/xml/DOMParser.cpp
@@ -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;
    
    
More information about the vlc-commits
mailing list