[vlc-devel] [PATCH 10/17] dash: added isoffmain profile

Christopher at mailsrv.uni-klu.ac.at Christopher at mailsrv.uni-klu.ac.at
Mon Jan 30 14:48:28 CET 2012


From: Christopher Mueller <christopher.mueller at itec.aau.at>

---
 modules/stream_filter/dash/mpd/IMPDManager.h |    3 ++-
 modules/stream_filter/dash/mpd/MPD.cpp       |    2 ++
 2 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/modules/stream_filter/dash/mpd/IMPDManager.h b/modules/stream_filter/dash/mpd/IMPDManager.h
index aa5417b..8a9d4e0 100644
--- a/modules/stream_filter/dash/mpd/IMPDManager.h
+++ b/modules/stream_filter/dash/mpd/IMPDManager.h
@@ -22,7 +22,8 @@ namespace dash
             UnknownProfile,
             Full2011,
             Basic,
-            BasicCM
+            BasicCM,
+            IsoffMain
         };
         class IMPDManager
         {
diff --git a/modules/stream_filter/dash/mpd/MPD.cpp b/modules/stream_filter/dash/mpd/MPD.cpp
index 337809c..c28b0aa 100644
--- a/modules/stream_filter/dash/mpd/MPD.cpp
+++ b/modules/stream_filter/dash/mpd/MPD.cpp
@@ -174,6 +174,8 @@ void MPD::setProfile( const std::string &strProfile )
         this->profile = dash::mpd::BasicCM;
     else if ( strProfile == "urn:mpeg:mpegB:profile:dash:full:2011" )
         this->profile = dash::mpd::Full2011;
+    else if ( strProfile == "urn:mpeg:dash:profile:isoff-main:2011" )
+        this->profile = dash::mpd::IsoffMain;
     else
         this->profile = dash::mpd::UnknownProfile;
 }
-- 
1.7.0.4




More information about the vlc-devel mailing list