vlc | branch: master | Francois Cartegnie <fcvlc...@free.fr> | Wed Sep 21 
18:38:01 2016 +0200| [3a1065c87b084638f3be6eddffbd81ed4249aa18] | committer: 
Francois Cartegnie

demux: adaptive: use predictive logic as default

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

 modules/demux/adaptive/PlaylistManager.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/adaptive/PlaylistManager.cpp 
b/modules/demux/adaptive/PlaylistManager.cpp
index 1d43008..9662257 100644
--- a/modules/demux/adaptive/PlaylistManager.cpp
+++ b/modules/demux/adaptive/PlaylistManager.cpp
@@ -717,7 +717,6 @@ AbstractAdaptationLogic 
*PlaylistManager::createLogic(AbstractAdaptationLogic::L
             return new (std::nothrow) AlwaysLowestAdaptationLogic();
         case AbstractAdaptationLogic::AlwaysBest:
             return new (std::nothrow) AlwaysBestAdaptationLogic();
-        case AbstractAdaptationLogic::Default:
         case AbstractAdaptationLogic::RateBased:
         {
             int width = var_InheritInteger(p_demux, "adaptive-width");
@@ -728,6 +727,7 @@ AbstractAdaptationLogic 
*PlaylistManager::createLogic(AbstractAdaptationLogic::L
                 conn->setDownloadRateObserver(logic);
             return logic;
         }
+        case AbstractAdaptationLogic::Default:
         case AbstractAdaptationLogic::Predictive:
         {
             AbstractAdaptationLogic *logic = new (std::nothrow) 
PredictiveAdaptationLogic(VLC_OBJECT(p_demux));

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to