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

Issue 554893003: Introduce some buffering into the cast media pipeline. (Closed)

Created:
6 years, 3 months ago by damienv1
Modified:
6 years, 3 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Introduce some buffering into the cast media pipeline. BufferingFrameProvider is a CodedFrameProvider which buffers frames up to a given level. BUG=408189 Committed: https://crrev.com/1f24028e02a16438719a9b406abd03f58c074f1a Cr-Commit-Position: refs/heads/master@{#294054}

Patch Set 1 #

Total comments: 20

Patch Set 2 : Address CR comments from patch set #1. #

Total comments: 4

Patch Set 3 : Adjust weak pointer management. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+954 lines, -0 lines) Patch
A chromecast/media/cma/base/buffering_frame_provider.h View 1 2 1 chunk +117 lines, -0 lines 0 comments Download
A chromecast/media/cma/base/buffering_frame_provider.cc View 1 2 1 chunk +140 lines, -0 lines 0 comments Download
A chromecast/media/cma/base/buffering_frame_provider_unittest.cc View 1 chunk +187 lines, -0 lines 0 comments Download
A chromecast/media/cma/base/frame_generator_for_test.h View 1 1 chunk +59 lines, -0 lines 0 comments Download
A chromecast/media/cma/base/frame_generator_for_test.cc View 1 chunk +113 lines, -0 lines 0 comments Download
A chromecast/media/cma/base/mock_frame_consumer.h View 1 1 chunk +69 lines, -0 lines 0 comments Download
A chromecast/media/cma/base/mock_frame_consumer.cc View 1 chunk +116 lines, -0 lines 0 comments Download
A chromecast/media/cma/base/mock_frame_provider.h View 1 1 chunk +49 lines, -0 lines 0 comments Download
A chromecast/media/cma/base/mock_frame_provider.cc View 1 chunk +95 lines, -0 lines 0 comments Download
M chromecast/media/media.gyp View 2 chunks +9 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (2 generated)
damienv1
Please take a look. Thanks.
6 years, 3 months ago (2014-09-09 15:36:26 UTC) #2
gunsch
https://codereview.chromium.org/554893003/diff/1/chromecast/media/cma/base/buffering_frame_provider.cc File chromecast/media/cma/base/buffering_frame_provider.cc (right): https://codereview.chromium.org/554893003/diff/1/chromecast/media/cma/base/buffering_frame_provider.cc#newcode41 chromecast/media/cma/base/buffering_frame_provider.cc:41: weak_factory_(new base::WeakPtrFactory<BufferingFrameProvider>(this)) { weak_factory_(this) https://codereview.chromium.org/554893003/diff/1/chromecast/media/cma/base/buffering_frame_provider.cc#newcode43 chromecast/media/cma/base/buffering_frame_provider.cc:43: weak_this_ = weak_factory_->GetWeakPtr(); ...
6 years, 3 months ago (2014-09-09 15:58:19 UTC) #3
damienv1
https://codereview.chromium.org/554893003/diff/1/chromecast/media/cma/base/buffering_frame_provider.cc File chromecast/media/cma/base/buffering_frame_provider.cc (right): https://codereview.chromium.org/554893003/diff/1/chromecast/media/cma/base/buffering_frame_provider.cc#newcode41 chromecast/media/cma/base/buffering_frame_provider.cc:41: weak_factory_(new base::WeakPtrFactory<BufferingFrameProvider>(this)) { On 2014/09/09 15:58:18, gunsch wrote: > ...
6 years, 3 months ago (2014-09-09 16:24:18 UTC) #4
gunsch
On 2014/09/09 16:24:18, damienv1 wrote: > https://codereview.chromium.org/554893003/diff/1/chromecast/media/cma/base/buffering_frame_provider.cc > File chromecast/media/cma/base/buffering_frame_provider.cc (right): > > https://codereview.chromium.org/554893003/diff/1/chromecast/media/cma/base/buffering_frame_provider.cc#newcode41 > ...
6 years, 3 months ago (2014-09-09 20:11:03 UTC) #5
gunsch
https://codereview.chromium.org/554893003/diff/20001/chromecast/media/cma/base/buffering_frame_provider.cc File chromecast/media/cma/base/buffering_frame_provider.cc (right): https://codereview.chromium.org/554893003/diff/20001/chromecast/media/cma/base/buffering_frame_provider.cc#newcode67 chromecast/media/cma/base/buffering_frame_provider.cc:67: // This is needed since even though, |coded_frame_provider_| is ...
6 years, 3 months ago (2014-09-09 20:11:11 UTC) #6
damienv1
https://codereview.chromium.org/554893003/diff/20001/chromecast/media/cma/base/buffering_frame_provider.cc File chromecast/media/cma/base/buffering_frame_provider.cc (right): https://codereview.chromium.org/554893003/diff/20001/chromecast/media/cma/base/buffering_frame_provider.cc#newcode67 chromecast/media/cma/base/buffering_frame_provider.cc:67: // This is needed since even though, |coded_frame_provider_| is ...
6 years, 3 months ago (2014-09-09 20:29:17 UTC) #7
gunsch
On 2014/09/09 20:29:17, damienv1 wrote: > https://codereview.chromium.org/554893003/diff/20001/chromecast/media/cma/base/buffering_frame_provider.cc > File chromecast/media/cma/base/buffering_frame_provider.cc (right): > > https://codereview.chromium.org/554893003/diff/20001/chromecast/media/cma/base/buffering_frame_provider.cc#newcode67 > ...
6 years, 3 months ago (2014-09-09 20:34:34 UTC) #8
lcwu1
lgtm
6 years, 3 months ago (2014-09-09 23:27:06 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/damienv@chromium.org/554893003/40001
6 years, 3 months ago (2014-09-10 00:07:01 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:40001) as 1b24b2283b9783e95a9ba5b440e3f57fd6e1c092
6 years, 3 months ago (2014-09-10 00:43:34 UTC) #12
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:57:03 UTC) #13
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/1f24028e02a16438719a9b406abd03f58c074f1a
Cr-Commit-Position: refs/heads/master@{#294054}

Powered by Google App Engine
This is Rietveld 408576698