summaryrefslogtreecommitdiffstats
path: root/ios
diff options
context:
space:
mode:
authortimav <timav@chromium.org>2015-08-27 17:14:13 -0700
committerCommit bot <commit-bot@chromium.org>2015-08-28 00:14:45 +0000
commitfbad44a3cd16ca1c2df574b2e3206e394875b2b9 (patch)
tree23988096ec7ac5c64d8947127fa5740b0aa0f358 /ios
parente6c3191a5cd6c87488fd42e96fabb17f6dd01072 (diff)
downloadchromium_src-fbad44a3cd16ca1c2df574b2e3206e394875b2b9.zip
chromium_src-fbad44a3cd16ca1c2df574b2e3206e394875b2b9.tar.gz
chromium_src-fbad44a3cd16ca1c2df574b2e3206e394875b2b9.tar.bz2
MediaCodecPlayer implementation - increase preroll precision
During audio preroll we figure out the frame to be played after the preroll is finished. This CL uses the PTS of this frame to reset the clock: the base timestamp in the audio decoder and the interpolator in the player. We also moved the moment we start interpolating later in time, to the point we start the actual playback from the preroll. As a result, the start time has become different from the seek and preroll time. Our AAC unit tests swallow the first frame. Now it has been taken into account and the playback time starts at ~0.23s with last buffered time approximately equal to the next PTS. BUG=407577 Review URL: https://codereview.chromium.org/1314023004 Cr-Commit-Position: refs/heads/master@{#346033}
Diffstat (limited to 'ios')
0 files changed, 0 insertions, 0 deletions