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

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=150622487
  • Loading branch information
ojw28 committed Mar 22, 2017
1 parent f976794 commit de6e47f
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 de6e47f

Please sign in to comment.