summaryrefslogtreecommitdiffstats
path: root/media/base/video_frame_pool.cc
diff options
context:
space:
mode:
authordalecurtis@chromium.org <dalecurtis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-19 11:39:00 +0000
committerdalecurtis@chromium.org <dalecurtis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-19 11:39:00 +0000
commit2096a3454d28bb1b67233713a6434657a9781cb2 (patch)
treef8cdd51a3e8ad259968eb317020629eb569f94aa /media/base/video_frame_pool.cc
parent22a74fef5947336f7f7845d95601bc40954d99d8 (diff)
downloadchromium_src-2096a3454d28bb1b67233713a6434657a9781cb2.zip
chromium_src-2096a3454d28bb1b67233713a6434657a9781cb2.tar.gz
chromium_src-2096a3454d28bb1b67233713a6434657a9781cb2.tar.bz2
Allow StreamParsers to request automatic timestampOffset updates.
Extends StreamParser::InitCB with a new parameter which indicates that SourceState::OnNewBuffers() should update the timestampOffset based on the earliest end time of returned buffers (accounting for any current appendWindow). To prevent doubling of the timestamps in conjuction with the update to timestampOffset, the MPEGStreamParserBase now resets the timestamp helper after each SendBuffers() call. Also adds missing pipeline integration tests for ADTS. BUG=353307 TEST=existing tests pass. Post mp3 append, timestampOffset is updated. Review URL: https://codereview.chromium.org/195973006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@257932 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/base/video_frame_pool.cc')
0 files changed, 0 insertions, 0 deletions