Skip to content
Snippets Groups Projects
Commit 72386a24 authored by François Cartegnie's avatar François Cartegnie :fingers_crossed:
Browse files

demux: adaptive: don't seek disabled streams

As it was always seeking disabled streams,
init chunk was read on seek, queuing possible es
changes which are uncommited due to absence of sample data.
following dac320e3
the fakeesout was always in restarting state then,
causing an always failing setposition which now checks
the restarting state.
parent 9dfbee33
No related branches found
No related tags found
No related merge requests found
......@@ -247,7 +247,9 @@ bool PlaylistManager::setPosition(mtime_t time)
std::vector<AbstractStream *>::iterator it;
for(it=streams.begin(); it!=streams.end(); ++it)
{
ret &= (*it)->setPosition(time, !real);
AbstractStream *st = *it;
if(!st->isDisabled())
ret &= st->setPosition(time, !real);
}
if(!ret)
break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment