Commit e0981252 authored by François Cartegnie's avatar François Cartegnie 🤞

demux: adaptive: force minimal pts delay

parent c2a11325
......@@ -457,9 +457,16 @@ int PlaylistManager::doControl(int i_query, va_list args)
}
case DEMUX_GET_PTS_DELAY:
*va_arg (args, int64_t *) = INT64_C(1000) *
var_InheritInteger(p_demux, "network-caching");
break;
if( logicType != AbstractAdaptationLogic::RateBased )
{
*va_arg (args, int64_t *) = INT64_C(1000) *
var_InheritInteger(p_demux, "network-caching");
}
else
{
*va_arg (args, int64_t *) = 1000 * INT64_C(1000);
}
break;
default:
return VLC_EGENERIC;
......
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