Commit 67dda11f authored by François Cartegnie's avatar François Cartegnie 🤞

demux: adaptive: fix regression with seek

happens with mixed valid and invalid streams
parent 46bd4c62
......@@ -310,7 +310,7 @@ bool PlaylistManager::setPosition(mtime_t time)
for(it=streams.begin(); it!=streams.end(); ++it)
{
AbstractStream *st = *it;
if(!st->isDisabled())
if(!st->isDisabled() && !st->isDead())
ret &= st->setPosition(time, !real);
}
if(!ret)
......
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