Skip to content

Commit

Permalink
Merge pull request #1761 from bbc/actualPresentationTime
Browse files Browse the repository at this point in the history
Fix #1759 (regression) resume correctly after seek
  • Loading branch information
Lloyd Wallis authored Jan 25, 2017
2 parents 706dbb3 + 6650178 commit 219c0c6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/dash/DashHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -353,8 +353,9 @@ function DashHandler(config) {

updateSegments(representation);
index = getIndexForSegments(time, representation, timeThreshold);
//Index may be -1 if getSegments needs to update. So after getSegments is called and updated then try to get index again.
//Index may be -1 if getSegments needs to update again. So after getSegments is called and updated then try to get index again.
if (index < 0) {
updateSegments(representation);
index = getIndexForSegments(time, representation, timeThreshold);
}

Expand Down

0 comments on commit 219c0c6

Please sign in to comment.