DescriptionUpdate SourceBufferStream and its unit tests to always expect valid durations.
This change fixes the SourceBufferStream unit tests so that they always
provide valid durations for buffers that it passes to SourceBufferStream.
I've also added code to SoureBufferStream to verify that it always gets
buffers with valid durations.
Minor tweaks to test expectations were needed to compensate for the
SourceBufferStream behaving differently when it got actual durations instead
of using the durations it made up. In most cases I just used the duration
the SourceBufferStream was ultimately using. In a few cases the duration
the SourceBufferStream was generating didn't make any sense so I simply
changed the expectations to match the new behavior.
This is an attempt to reland https://codereview.chromium.org/379693002/ with
appropriate crash fixes.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=283754
Patch Set 1 : Original patch #Patch Set 2 : Add negative duration guard to avoid crashing when FFmpeg returns negative durations. #
Total comments: 3
Patch Set 3 : Add TODO #
Messages
Total messages: 6 (0 generated)
|