Skip to content

Commit

Permalink
fix #42
Browse files Browse the repository at this point in the history
  • Loading branch information
tcking committed Jan 25, 2018
1 parent 8bd9585 commit 034b782
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public void onStopTrackingTouch(SeekBar seekBar) {
}
GiraffePlayer player = videoView.getPlayer();
if (!instantSeeking) {
player.seekTo((int) ((player.getDuration() * seekBar.getProgress() * 1.0) / 1000));
player.seekTo((int) (player.getDuration() * (seekBar.getProgress() * 1.0 / 1000)));
}
show(defaultTimeout);
handler.removeMessages(MESSAGE_SHOW_PROGRESS);
Expand Down

0 comments on commit 034b782

Please sign in to comment.