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

Issue 9155003: Fix media timeline so that thumb never exceeds buffered data (Closed)

Created:
8 years, 11 months ago by vrk (LEFT CHROMIUM)
Modified:
8 years, 10 months ago
CC:
chromium-reviews, hclam+watch_chromium.org, ddorwin+watch_chromium.org, fischman+watch_chromium.org, acolwell+watch_chromium.org, annacc+watch_chromium.org, darin-cc_chromium.org, vrk (LEFT CHROMIUM), scherkus (not reviewing), ihf+watch_chromium.org
Visibility:
Public.

Description

Fix media timeline so that thumb never exceeds buffered data Caps PipelineImpl's current time to the time of the end of the last frame buffered so that the thumb no longer continues progress when stalled. BUG=99915 TEST=Playing video with limited bandwidth. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=120151

Patch Set 1 #

Patch Set 2 : . #

Total comments: 18

Patch Set 3 : Response to CR #

Patch Set 4 : . #

Total comments: 25

Patch Set 5 : Responses to CR; unit test rewrite #

Patch Set 6 : . #

Patch Set 7 : Rebase ToT and fix tests #

Patch Set 8 : . #

Total comments: 13

Patch Set 9 : Response to CR; fix a few bugs #

Total comments: 6

Patch Set 10 : Response to CR #

Patch Set 11 : Rebase ToT #

Patch Set 12 : Fix content_unittests compile #

Patch Set 13 : Rebase ToT #

Patch Set 14 : Rebase ToT, again #

Unified diffs Side-by-side diffs Delta from patch set Stats (+470 lines, -243 lines) Patch
M content/renderer/media/audio_renderer_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +11 lines, -1 line 0 comments Download
M media/base/clock.h View 1 2 3 4 5 6 7 8 2 chunks +50 lines, -5 lines 0 comments Download
M media/base/clock.cc View 1 2 3 4 5 6 7 8 9 3 chunks +84 lines, -25 lines 0 comments Download
M media/base/clock_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +192 lines, -126 lines 0 comments Download
M media/base/composite_filter.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +0 lines, -5 lines 0 comments Download
M media/base/filter_host.h View 1 2 3 4 5 6 1 chunk +0 lines, -4 lines 0 comments Download
M media/base/filters.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +13 lines, -2 lines 0 comments Download
M media/base/mock_filter_host.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +0 lines, -8 lines 0 comments Download
M media/base/mock_filters.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +9 lines, -5 lines 0 comments Download
M media/base/mock_filters.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +5 lines, -0 lines 0 comments Download
M media/base/pipeline.h View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +6 lines, -4 lines 0 comments Download
M media/base/pipeline.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 17 chunks +43 lines, -30 lines 0 comments Download
M media/base/pipeline_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 4 chunks +10 lines, -10 lines 0 comments Download
M media/filters/audio_renderer_base.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +4 lines, -1 line 0 comments Download
M media/filters/audio_renderer_base.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +9 lines, -10 lines 0 comments Download
M media/filters/audio_renderer_base_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 4 chunks +14 lines, -4 lines 0 comments Download
M media/filters/video_renderer_base.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +3 lines, -1 line 0 comments Download
M media/filters/video_renderer_base.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +8 lines, -1 line 0 comments Download
M media/filters/video_renderer_base_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +9 lines, -1 line 0 comments Download

Messages

Total messages: 15 (0 generated)
vrk (LEFT CHROMIUM)
A few of my edits to PipelineImpl are a little strange/ugly; I'll explain in person ...
8 years, 11 months ago (2012-01-10 02:43:12 UTC) #1
acolwell GONE FROM CHROMIUM
looks good and makes me happy. Just a few simple things to fix. http://codereview.chromium.org/9155003/diff/2001/media/base/pipeline_impl.cc File ...
8 years, 11 months ago (2012-01-10 22:08:10 UTC) #2
scherkus (not reviewing)
http://codereview.chromium.org/9155003/diff/2001/media/base/pipeline_impl.cc File media/base/pipeline_impl.cc (right): http://codereview.chromium.org/9155003/diff/2001/media/base/pipeline_impl.cc#newcode244 media/base/pipeline_impl.cc:244: elapsed = std::min(elapsed, max_clock_time_); On 2012/01/10 22:08:11, acolwell wrote: ...
8 years, 11 months ago (2012-01-10 22:22:32 UTC) #3
vrk (LEFT CHROMIUM)
Ok! Please take another look. I'm not toootally confident that the Clock API changes make ...
8 years, 11 months ago (2012-01-13 02:48:41 UTC) #4
acolwell GONE FROM CHROMIUM
looking good. I get more excited every iteration I see on the CL! http://codereview.chromium.org/9155003/diff/19003/media/base/clock.cc File ...
8 years, 11 months ago (2012-01-13 22:51:21 UTC) #5
vrk (LEFT CHROMIUM)
PTAL acolwell! When I tried to add more unit tests, I realized my original attempt ...
8 years, 11 months ago (2012-01-21 00:54:14 UTC) #6
acolwell GONE FROM CHROMIUM
Looks good. Just a few tiny questions and then I think we're good to go. ...
8 years, 11 months ago (2012-01-24 18:13:59 UTC) #7
vrk (LEFT CHROMIUM)
I also fixed a couple of tests I had broken/flakified; I added comments to highlight ...
8 years, 11 months ago (2012-01-25 00:09:32 UTC) #8
acolwell GONE FROM CHROMIUM
almost..there... Just want to sync up on the SetTime() change. http://codereview.chromium.org/9155003/diff/39002/media/base/clock_unittest.cc File media/base/clock_unittest.cc (right): http://codereview.chromium.org/9155003/diff/39002/media/base/clock_unittest.cc#newcode235 ...
8 years, 11 months ago (2012-01-25 05:20:29 UTC) #9
vrk (LEFT CHROMIUM)
http://codereview.chromium.org/9155003/diff/48001/media/base/clock.cc File media/base/clock.cc (right): http://codereview.chromium.org/9155003/diff/48001/media/base/clock.cc#newcode48 media/base/clock.cc:48: bool paused_for_set_time = false; On 2012/01/25 05:20:30, acolwell wrote: ...
8 years, 11 months ago (2012-01-26 00:06:53 UTC) #10
acolwell GONE FROM CHROMIUM
LGTM \o/
8 years, 11 months ago (2012-01-26 01:11:28 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vrk@chromium.org/9155003/54001
8 years, 10 months ago (2012-02-02 00:46:21 UTC) #12
commit-bot: I haz the power
Can't apply patch for file content/renderer/media/audio_renderer_impl_unittest.cc. While running patch -p1 --forward --force; patching file content/renderer/media/audio_renderer_impl_unittest.cc ...
8 years, 10 months ago (2012-02-02 00:46:26 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vrk@chromium.org/9155003/55022
8 years, 10 months ago (2012-02-02 01:26:33 UTC) #14
commit-bot: I haz the power
8 years, 10 months ago (2012-02-02 02:52:43 UTC) #15
Change committed as 120151

Powered by Google App Engine
This is Rietveld 408576698