Commit 1b740048 authored by Francois Cartegnie's avatar Francois Cartegnie

demux: adaptative: handle restartdemux return value

parent fe8e6262
......@@ -351,7 +351,8 @@ bool AbstractStream::setPosition(mtime_t time, bool tryonly)
delete currentChunk;
currentChunk = NULL;
restartDemux();
if( !restartDemux() )
dead = true;
/* Check if we need to set an offset as the demuxer
* will start from zero from seek point */
......
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