[vlc-commits] dash: fix intialization typo

Christopher Mueller git at videolan.org
Mon Feb 27 14:08:05 CET 2012


vlc | branch: master | Christopher Mueller <christopher.mueller at itec.aau.at> | Thu Feb 23 16:16:54 2012 +0100| [3503460d6c1dd5319f1e91827e2e88c8b6dda064] | committer: Hugo Beauzée-Luyssen

dash: fix intialization typo

Signed-off-by: Hugo Beauzée-Luyssen <beauze.h at gmail.com>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3503460d6c1dd5319f1e91827e2e88c8b6dda064
---

 modules/stream_filter/dash/mpd/IsoffMainParser.cpp |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/modules/stream_filter/dash/mpd/IsoffMainParser.cpp b/modules/stream_filter/dash/mpd/IsoffMainParser.cpp
index 888c347..014b0ad 100644
--- a/modules/stream_filter/dash/mpd/IsoffMainParser.cpp
+++ b/modules/stream_filter/dash/mpd/IsoffMainParser.cpp
@@ -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 );



More information about the vlc-commits mailing list