demux: adaptive: default logic to nearoptimal
authorFrancois Cartegnie <fcvlcdev@free.fr>
Wed, 19 Apr 2017 08:56:32 +0000 (10:56 +0200)
committerFrancois Cartegnie <fcvlcdev@free.fr>
Wed, 19 Apr 2017 08:57:36 +0000 (10:57 +0200)
modules/demux/adaptive/PlaylistManager.cpp

index 8f7797b..7180b66 100644 (file)
@@ -739,6 +739,7 @@ AbstractAdaptationLogic *PlaylistManager::createLogic(AbstractAdaptationLogic::L
             logic = ratelogic;
             break;
         }
+        case AbstractAdaptationLogic::Default:
         case AbstractAdaptationLogic::NearOptimal:
         {
             NearOptimalAdaptationLogic *noplogic =
@@ -748,7 +749,6 @@ AbstractAdaptationLogic *PlaylistManager::createLogic(AbstractAdaptationLogic::L
             logic = noplogic;
             break;
         }
-        case AbstractAdaptationLogic::Default:
         case AbstractAdaptationLogic::Predictive:
         {
             AbstractAdaptationLogic *predictivelogic =