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

Issue 2361103002: [Chromecast] Make sure that Stop() stops buffer decryption (Closed)

Created:
4 years, 3 months ago by kmackay
Modified:
4 years, 3 months ago
Reviewers:
halliwell, yucliu1, alokp
CC:
chromium-reviews, alokp+watch_chromium.org, lcwu+watch_chromium.org, halliwell+watch_chromium.org, feature-media-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Chromecast] Make sure that Stop() stops buffer decryption AvPipelineImpl's Stop() call must prevent any pending buffer decryption callback from ever running. StartPlayingFrom() sets enable_feeding_ back to true, so if a pending decryption callback from before Stop() is allowed to complete after StartPlayingFrom() is called again, it will think everything is fine and try to push a buffer, resulting in a double push. BUG= internal b/31543110 Committed: https://crrev.com/5dd51b563246eed2fd0a8cdc7061169a664974f6 Cr-Commit-Position: refs/heads/master@{#420489}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Add longer comment #

Patch Set 3 : fix formatting #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -5 lines) Patch
M chromecast/media/cma/pipeline/av_pipeline_impl.h View 1 chunk +4 lines, -0 lines 0 comments Download
M chromecast/media/cma/pipeline/av_pipeline_impl.cc View 1 2 3 chunks +13 lines, -5 lines 0 comments Download

Messages

Total messages: 20 (8 generated)
kmackay
4 years, 3 months ago (2016-09-22 17:19:33 UTC) #2
alokp
https://codereview.chromium.org/2361103002/diff/1/chromecast/media/cma/pipeline/av_pipeline_impl.h File chromecast/media/cma/pipeline/av_pipeline_impl.h (right): https://codereview.chromium.org/2361103002/diff/1/chromecast/media/cma/pipeline/av_pipeline_impl.h#newcode175 chromecast/media/cma/pipeline/av_pipeline_impl.h:175: // Special weak factory used for asynchronous decryption. This ...
4 years, 3 months ago (2016-09-22 17:25:18 UTC) #4
kmackay
On 2016/09/22 17:25:18, alokp wrote: > https://codereview.chromium.org/2361103002/diff/1/chromecast/media/cma/pipeline/av_pipeline_impl.h > File chromecast/media/cma/pipeline/av_pipeline_impl.h (right): > > https://codereview.chromium.org/2361103002/diff/1/chromecast/media/cma/pipeline/av_pipeline_impl.h#newcode175 > ...
4 years, 3 months ago (2016-09-22 17:32:10 UTC) #5
yucliu1
On 2016/09/22 17:32:10, kmackay wrote: > On 2016/09/22 17:25:18, alokp wrote: > > > https://codereview.chromium.org/2361103002/diff/1/chromecast/media/cma/pipeline/av_pipeline_impl.h ...
4 years, 3 months ago (2016-09-22 17:44:43 UTC) #6
alokp
On 2016/09/22 17:32:10, kmackay wrote: > On 2016/09/22 17:25:18, alokp wrote: > > > https://codereview.chromium.org/2361103002/diff/1/chromecast/media/cma/pipeline/av_pipeline_impl.h ...
4 years, 3 months ago (2016-09-22 17:47:30 UTC) #7
kmackay
On 2016/09/22 17:47:30, alokp wrote: > On 2016/09/22 17:32:10, kmackay wrote: > > On 2016/09/22 ...
4 years, 3 months ago (2016-09-22 18:36:53 UTC) #8
alokp
On 2016/09/22 18:36:53, kmackay wrote: > On 2016/09/22 17:47:30, alokp wrote: > > On 2016/09/22 ...
4 years, 3 months ago (2016-09-22 18:59:09 UTC) #11
alokp
My patch is getting bigger than anticipated, which I am not confident checking into 1.21. ...
4 years, 3 months ago (2016-09-22 22:10:40 UTC) #12
kmackay
On 2016/09/22 22:10:40, alokp wrote: > My patch is getting bigger than anticipated, which I ...
4 years, 3 months ago (2016-09-22 22:48:47 UTC) #13
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/2361103002/40001
4 years, 3 months ago (2016-09-22 22:49:15 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 3 months ago (2016-09-22 22:59:51 UTC) #18
commit-bot: I haz the power
4 years, 3 months ago (2016-09-22 23:01:58 UTC) #20
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/5dd51b563246eed2fd0a8cdc7061169a664974f6
Cr-Commit-Position: refs/heads/master@{#420489}

Powered by Google App Engine
This is Rietveld 408576698