Browse Source

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

pull/53/head
Francois Cartegnie 10 years ago
parent
commit
00834cac64
  1. 2
      modules/demux/smooth/SmoothManager.cpp

2
modules/demux/smooth/SmoothManager.cpp

@ -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;

Loading…
Cancel
Save