[vlc-devel] [PATCH 14/17] dash: added isoffmainmanager to factory
Christopher at mailsrv.uni-klu.ac.at
Christopher at mailsrv.uni-klu.ac.at
Mon Jan 30 14:48:32 CET 2012
From: Christopher Mueller <christopher.mueller at itec.aau.at>
---
.../stream_filter/dash/mpd/MPDManagerFactory.cpp | 4 ++--
modules/stream_filter/dash/mpd/MPDManagerFactory.h | 1 +
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/modules/stream_filter/dash/mpd/MPDManagerFactory.cpp b/modules/stream_filter/dash/mpd/MPDManagerFactory.cpp
index 13e72f9..8d66476 100644
--- a/modules/stream_filter/dash/mpd/MPDManagerFactory.cpp
+++ b/modules/stream_filter/dash/mpd/MPDManagerFactory.cpp
@@ -34,8 +34,8 @@ IMPDManager* MPDManagerFactory::create( MPD *mpd )
switch( mpd->getProfile() )
{
case mpd::BasicCM:
- case mpd::Full2011:
- return new BasicCMManager( mpd );
+ case mpd::Full2011: return new BasicCMManager (mpd);
+ case mpd::IsoffMain: return new IsoffMainManager (mpd);
case mpd::Basic:
case mpd::UnknownProfile:
default:
diff --git a/modules/stream_filter/dash/mpd/MPDManagerFactory.h b/modules/stream_filter/dash/mpd/MPDManagerFactory.h
index 317cfa9..f1279d4 100644
--- a/modules/stream_filter/dash/mpd/MPDManagerFactory.h
+++ b/modules/stream_filter/dash/mpd/MPDManagerFactory.h
@@ -27,6 +27,7 @@
#include "mpd/IMPDManager.h"
#include "mpd/BasicCMManager.h"
+#include "mpd/IsoffMainManager.h"
namespace dash
{
--
1.7.0.4
More information about the vlc-devel
mailing list