Skip to content

Commit

Permalink
Fix skipping to keyframe to use correct position
Browse files Browse the repository at this point in the history
Issue: #2575
  • Loading branch information
ojw28 committed Mar 23, 2017
1 parent 23b5921 commit c96f18f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ protected final boolean isSourceReady() {
* @param timeUs The specified time.
*/
protected void skipToKeyframeBefore(long timeUs) {
stream.skipToKeyframeBefore(timeUs);
stream.skipToKeyframeBefore(timeUs - streamOffsetUs);
}

}

0 comments on commit c96f18f

Please sign in to comment.