Fix playback rate calculations for WallClockTimeSource.
commit3ec02d642465872d9ab7d7db600d0480a57b3cab
authordalecurtis <dalecurtis@chromium.org>
Wed, 15 Apr 2015 20:39:08 +0000 (15 13:39 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 15 Apr 2015 20:39:33 +0000 (15 20:39 +0000)
tree1abbd4e5de2662ef942e98a0cd43a6a231554d7b
parent81d51e253cfacd5648cca9f12b605e63971a9ab1
Fix playback rate calculations for WallClockTimeSource.

The switch to wall clock time used playback rate incorrectly when
calculating the wall clock time. Instead of multiplying by the
rate it should be divided.

BUG=477165
TEST=new unittest

Review URL: https://codereview.chromium.org/1085133002

Cr-Commit-Position: refs/heads/master@{#325294}
media/base/wall_clock_time_source.cc
media/base/wall_clock_time_source_unittest.cc