demux: dash: detect dash in raw xml with single quotes
authorFrancois Cartegnie <fcvlcdev@free.fr>
Mon, 5 Jan 2015 15:26:33 +0000 (16:26 +0100)
committerFrancois Cartegnie <fcvlcdev@free.fr>
Mon, 5 Jan 2015 15:26:56 +0000 (16:26 +0100)
modules/demux/dash/xml/DOMParser.cpp

index 1ebc3d5..fbff35f 100644 (file)
@@ -180,6 +180,9 @@ bool    DOMParser::isDash                   (stream_t *stream)
         "xmlns=\"urn:mpeg:mpegB:schema:DASH:MPD:DIS2011\"",
         "xmlns=\"urn:mpeg:schema:dash:mpd:2011\"",
         "xmlns=\"urn:mpeg:DASH:schema:MPD:2011\"",
+        "xmlns='urn:mpeg:mpegB:schema:DASH:MPD:DIS2011'",
+        "xmlns='urn:mpeg:schema:dash:mpd:2011'",
+        "xmlns='urn:mpeg:DASH:schema:MPD:2011'",
     };
 
     const uint8_t *peek;