[vlc-commits] demux: dash: enable all profiles

Francois Cartegnie git at videolan.org
Tue Dec 30 16:44:52 CET 2014


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Dec 30 16:44:29 2014 +0100| [ab2405ed8250d55eb4aca8e0f124e8a6a22e15c7] | committer: Francois Cartegnie

demux: dash: enable all profiles

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

 modules/demux/dash/mpd/MPDFactory.cpp |    8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/modules/demux/dash/mpd/MPDFactory.cpp b/modules/demux/dash/mpd/MPDFactory.cpp
index ba1e399..b0e300c 100644
--- a/modules/demux/dash/mpd/MPDFactory.cpp
+++ b/modules/demux/dash/mpd/MPDFactory.cpp
@@ -37,12 +37,10 @@ MPD* MPDFactory::create             (dash::xml::Node *root, stream_t *p_stream,
 
     switch( profile )
     {
-        case Profile::ISOOnDemand:
-        case Profile::ISOMain:
-        case Profile::ISOLive:
-        case Profile::MPEG2TSSimple:
-            parser = new IsoffMainParser(root, p_stream);
+        case Profile::Unknown:
+            break;
         default:
+            parser = new IsoffMainParser(root, p_stream);
             break;
     }
 



More information about the vlc-commits mailing list