DescriptionDon't double correct for discarded codec delay frames.
The existing code was correcting twice for discarded codec delay
frames. Once by adjusting the initial timestamp and twice by
discarding those frames before generating the output timestamp.
This change also adds a test helper to AudioFileReader so we can
demux audio files in tests without duplicating code. As a bonus
it provides some additional coverage to AudioFileReader.
I've also reused several FFmpegCommon methods where possible.
BUG=360961
TEST=Adds opus unit tests. Plus a basic playback test for ogg.
NOTRY=true
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=266639
Patch Set 1 #Patch Set 2 : Test everything. #
Total comments: 1
Patch Set 3 : Rebase. #Patch Set 4 : Fix rebase. #
Total comments: 2
Patch Set 5 : Style cleanup. Fix rendundant Initialize(). #
Messages
Total messages: 17 (0 generated)
|