Commit 3a1065c8 authored by François Cartegnie's avatar François Cartegnie 🤞

demux: adaptive: use predictive logic as default

parent c18f8a36
......@@ -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));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment