]> git.sesse.net Git - vlc/commitdiff
dash: fix intialization typo
authorChristopher Mueller <christopher.mueller@itec.aau.at>
Thu, 23 Feb 2012 15:16:54 +0000 (16:16 +0100)
committerHugo Beauzée-Luyssen <beauze.h@gmail.com>
Mon, 27 Feb 2012 13:07:48 +0000 (14:07 +0100)
Signed-off-by: Hugo Beauzée-Luyssen <beauze.h@gmail.com>
modules/stream_filter/dash/mpd/IsoffMainParser.cpp

index 888c3476edfcaa6d866d5e9349d1021c7ec1f338..014b0ad73b6ea0b77daadd7c2e7c3251225310c3 100644 (file)
@@ -157,6 +157,9 @@ void    IsoffMainParser::setInitSegment     (dash::xml::Node *segBaseNode, Segme
 {
     std::vector<Node *> initSeg = DOMHelper::getElementByTagName(segBaseNode, "Initialisation", false);
 
+    if(initSeg.size() == 0)
+        initSeg = DOMHelper::getElementByTagName(segBaseNode, "Initialization", false);
+
     if(initSeg.size() > 0)
     {
         Segment *seg = new Segment( this->currentRepresentation );