vlc | branch: master | Christopher Mueller <[email protected]> | 
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 <[email protected]>

> 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 );

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to