Don't rebase timestamps for positive start times.
commit93c37f1b01ef982bce30d4404562f05c7b1d439e
authordalecurtis <dalecurtis@chromium.org>
Thu, 11 Sep 2014 20:41:33 +0000 (11 13:41 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 11 Sep 2014 20:52:32 +0000 (11 20:52 +0000)
treeb33607dad849afaf7719945d7eed6258c815f784
parent69efd071162c9be1fd6a7c46437ba852c1edf666
Don't rebase timestamps for positive start times.

This is wrong according to the HTML Media specification:

http://dev.w3.org/html5/spec-preview/media-elements.html#offsets-into-the-media-resource

"If the media resource somehow specifies an explicit timeline whose
origin is not negative (i.e. gives each frame a specific time offset
and gives the first frame a zero or positive offset), then the media
timeline should be that timeline."

BUG=413292
TEST=updated unittest.

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

Cr-Commit-Position: refs/heads/master@{#294461}
media/filters/ffmpeg_demuxer.cc
media/filters/ffmpeg_demuxer_unittest.cc