Commit 00834cac authored by François Cartegnie's avatar François Cartegnie 🤞

demux: smooth: don't compute ahead time from disabled steams

parent c684d615
......@@ -123,6 +123,8 @@ void SmoothManager::scheduleNextUpdate()
for(it=streams.begin(); it!=streams.end(); ++it)
{
const AbstractStream *st = *it;
if(st->isDisabled() || !st->isSelected())
continue;
const mtime_t m = st->getMinAheadTime();
if(m > 0 && (m < minbuffer || minbuffer == 0))
minbuffer = m;
......
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