Chromium Code Reviews
DescriptionAllow 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.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=257932
Patch Set 1 #
Total comments: 12
Patch Set 2 : Unittest. #
Total comments: 6
Patch Set 3 : Fix timestamp offset. #
Total comments: 4
Patch Set 4 : Comments. #
Total comments: 1
Patch Set 5 : Revert appendWindow changes. Pre-calculate. #
Total comments: 6
Patch Set 6 : Comments. #Patch Set 7 : Typo. #Patch Set 8 : Fix unittest. #Patch Set 9 : Fake ranges. #Patch Set 10 : Add ADTS tests. #Messages
Total messages: 36 (0 generated)
|