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

Issue 276973004: Introduce audio/video BufferingState to Pipeline. (Closed)

Created:
6 years, 7 months ago by scherkus (not reviewing)
Modified:
6 years, 7 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org
Visibility:
Public.

Description

Introduce audio/video BufferingState to Pipeline. This is a stepping stone towards having audio/video renderers accurately report their buffering state. For now we use the Preroll() callback to signal that enough data has been buffered. Notable changes: - The kStarting/kStarted states have been merged into kPlaying - DoPlay() is now done implicitly after entering the kPlaying state - Transitioning from waiting to non-waiting states (or vice versa) now controls the starting and stopping of playback BUG=144683 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=269828

Patch Set 1 : #

Patch Set 2 : rebase #

Total comments: 4

Patch Set 3 : fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+179 lines, -90 lines) Patch
A media/base/buffering_state.h View 1 chunk +26 lines, -0 lines 0 comments Download
M media/base/pipeline.h View 1 2 6 chunks +24 lines, -11 lines 0 comments Download
M media/base/pipeline.cc View 1 2 16 chunks +128 lines, -63 lines 0 comments Download
M media/base/pipeline_unittest.cc View 5 chunks +0 lines, -16 lines 0 comments Download
M media/media.gyp View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
scherkus (not reviewing)
6 years, 7 months ago (2014-05-09 23:38:29 UTC) #1
acolwell GONE FROM CHROMIUM
lgtm https://codereview.chromium.org/276973004/diff/40001/media/base/pipeline.cc File media/base/pipeline.cc (right): https://codereview.chromium.org/276973004/diff/40001/media/base/pipeline.cc#newcode895 media/base/pipeline.cc:895: void Pipeline::AudioBufferingStateChanged(BufferingState buffering_state) { nit: You could avoid ...
6 years, 7 months ago (2014-05-12 13:46:54 UTC) #2
scherkus (not reviewing)
The CQ bit was checked by scherkus@chromium.org
6 years, 7 months ago (2014-05-12 15:21:41 UTC) #3
scherkus (not reviewing)
https://codereview.chromium.org/276973004/diff/40001/media/base/pipeline.cc File media/base/pipeline.cc (right): https://codereview.chromium.org/276973004/diff/40001/media/base/pipeline.cc#newcode895 media/base/pipeline.cc:895: void Pipeline::AudioBufferingStateChanged(BufferingState buffering_state) { On 2014/05/12 13:46:54, acolwell_OOO_5-12_to_5-15 wrote: ...
6 years, 7 months ago (2014-05-12 15:22:03 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/scherkus@chromium.org/276973004/60001
6 years, 7 months ago (2014-05-12 15:22:07 UTC) #5
commit-bot: I haz the power
6 years, 7 months ago (2014-05-12 18:48:41 UTC) #6
Message was sent while issue was closed.
Change committed as 269828

Powered by Google App Engine
This is Rietveld 408576698