[vlc-commits] demux: dash: detect dash in raw xml with single quotes
Francois Cartegnie
git at videolan.org
Mon Jan 5 16:27:10 CET 2015
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon Jan 5 16:26:33 2015 +0100| [c169ce3a9ce0883981bd983c9676fb8687f48e1c] | committer: Francois Cartegnie
demux: dash: detect dash in raw xml with single quotes
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c169ce3a9ce0883981bd983c9676fb8687f48e1c
---
modules/demux/dash/xml/DOMParser.cpp | 3 +++
1 file changed, 3 insertions(+)
diff --git a/modules/demux/dash/xml/DOMParser.cpp b/modules/demux/dash/xml/DOMParser.cpp
index 1ebc3d5..fbff35f 100644
--- a/modules/demux/dash/xml/DOMParser.cpp
+++ b/modules/demux/dash/xml/DOMParser.cpp
@@ -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;
More information about the vlc-commits
mailing list