DescriptionStop requiring a reader in MultibufferDataSource::SetBitrateTask()
Callers of MultibufferDataSource::SetBitrate() must not be required to
be aware of whether or not there is a |reader_| available, because
that's internal MultibufferDataSource state that changes for several
reasons, some of which aren't necessarily visible to the client calling
SetBitrate(), e.g., OnBufferingHaveEnough().
Note that UpdateBufferSizes(), called from SetBitrate(), handles the
case of a null |reader_| gracefully.
Review-Url: https://codereview.chromium.org/2647483003
Cr-Commit-Position: refs/heads/master@{#444867}
Committed: https://chromium.googlesource.com/chromium/src/+/231e833f8aab516b124544a01e8a4e8441ac47f0
Patch Set 1 #
Messages
Total messages: 10 (5 generated)
|