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

demux: adaptive: rely on live offset for edge control

fixes start case when min buffering < playlist duration

refs VLCKit/-/issues/374
parent a59a0690
No related branches found
No related tags found
No related merge requests found
Pipeline #17557 passed with stage
in 25 minutes and 52 seconds
......@@ -416,7 +416,7 @@ void SegmentTracker::registerListener(SegmentTrackerListenerInterface *listener)
bool SegmentTracker::bufferingAvailable() const
{
if(adaptationSet->getPlaylist()->isLive())
return bufferingLogic->getMinBuffering(adaptationSet->getPlaylist()) <= getMinAheadTime();
return getMinAheadTime() > 0;
return true;
}
......
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