vlc/vlc-1.2 | branch: master | Hugo Beauzée-Luyssen <[email protected]> | Fri 
Dec 30 19:07:29 2011 +0100| [50f97b3ec466ada916c8ce5693533809241d0787] | 
committer: Jean-Baptiste Kempf

dash: Working arround specifications ambiguity.

profile is spelled once as "profile", and "profiles" a few line after,
so we now handle both.

Signed-off-by: Jean-Baptiste Kempf <[email protected]>
(cherry picked from commit 5f03006307026c6fbb586a68e665360e9ae9ebb7)

Signed-off-by: Jean-Baptiste Kempf <[email protected]>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.2.git/?a=commit;h=50f97b3ec466ada916c8ce5693533809241d0787
---

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

diff --git a/modules/stream_filter/dash/mpd/BasicCMParser.cpp 
b/modules/stream_filter/dash/mpd/BasicCMParser.cpp
index 8ded464..25d3f6d 100644
--- a/modules/stream_filter/dash/mpd/BasicCMParser.cpp
+++ b/modules/stream_filter/dash/mpd/BasicCMParser.cpp
@@ -65,6 +65,8 @@ bool    BasicCMParser::setMPD()
 
     std::map<std::string, std::string>::const_iterator  it;
     it = attr.find( "profile" );
+    if ( it == attr.end() )
+        it = attr.find( "profiles" ); //The standard spells it the two ways...
     if ( it != attr.end() )
         this->mpd->setProfile( it->second );
 

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

Reply via email to