Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(31)

Issue 2647483003: Stop requiring a reader in MultibufferDataSource::SetBitrateTask() (Closed)

Created:
3 years, 11 months ago by wdzierzanowski
Modified:
3 years, 11 months ago
Reviewers:
hubbe
CC:
chromium-reviews, feature-media-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Stop 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -1 line) Patch
M media/blink/multibuffer_data_source.cc View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 10 (5 generated)
wdzierzanowski
Hello hubbe@, this is a small thing, never seen it causing an issue in Chrome, ...
3 years, 11 months ago (2017-01-19 08:17:17 UTC) #3
hubbe
lgtm
3 years, 11 months ago (2017-01-19 17:10:27 UTC) #4
wdzierzanowski
Thanks!
3 years, 11 months ago (2017-01-19 20:57:54 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2647483003/1
3 years, 11 months ago (2017-01-19 20:58:19 UTC) #7
commit-bot: I haz the power
3 years, 11 months ago (2017-01-19 22:41:38 UTC) #10
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/231e833f8aab516b124544a01e8a...

Powered by Google App Engine
This is Rietveld 408576698