Skip to content

Commit

Permalink
remove spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
mangui committed Dec 3, 2015
1 parent d6c4d59 commit 92749e0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/helper/level-helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ class LevelHelper {
startPTS = Math.max(startPTS,frag.startPTS);
endPTS = Math.min(endPTS, frag.endPTS);
}

var drift = startPTS - frag.start;

frag.start = frag.startPTS = startPTS;
frag.endPTS = endPTS;
frag.duration = endPTS - startPTS;
Expand All @@ -86,7 +86,7 @@ class LevelHelper {
}
details.PTSKnown = true;
//logger.log(` frag start/end:${startPTS.toFixed(3)}/${endPTS.toFixed(3)}`);

return drift;
}

Expand Down

0 comments on commit 92749e0

Please sign in to comment.