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

Issue 2624213006: media: Fix MojoAudioDecoder reinitialization (Closed)

Created:
3 years, 11 months ago by xhwang
Modified:
3 years, 11 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, alokp+watch_chromium.org, darin (slow to review)
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

media: Fix MojoAudioDecoder reinitialization BUG=679095 TEST=New test added. Review-Url: https://codereview.chromium.org/2624213006 Cr-Commit-Position: refs/heads/master@{#444888} Committed: https://chromium.googlesource.com/chromium/src/+/2a02ac7ae09857022954bd2627f74416e683fce3

Patch Set 1 #

Total comments: 5

Patch Set 2 : rebase only #

Patch Set 3 : drop extra flags #

Total comments: 2

Patch Set 4 : comments addressed #

Patch Set 5 : more tests #

Patch Set 6 : add dcheck and more tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+229 lines, -144 lines) Patch
M media/filters/android/media_codec_audio_decoder.cc View 1 2 3 4 5 2 chunks +15 lines, -3 lines 0 comments Download
M media/filters/audio_decoder_unittest.cc View 1 2 3 4 15 chunks +214 lines, -141 lines 0 comments Download

Messages

Total messages: 29 (14 generated)
xhwang
sandersd: This change basically copied what you did in MojoVideoDecoder for consistency. PTAL!
3 years, 11 months ago (2017-01-13 17:31:14 UTC) #6
sandersd (OOO until July 31)
lgtm
3 years, 11 months ago (2017-01-13 19:03:47 UTC) #7
xhwang
dcheng: Please OWNERS review the trivial change in the mojom file. Which basically makes it ...
3 years, 11 months ago (2017-01-13 19:06:40 UTC) #9
xhwang
dcheng: post-weekend kindly ping :)
3 years, 11 months ago (2017-01-17 19:40:46 UTC) #10
dcheng
https://codereview.chromium.org/2624213006/diff/1/media/mojo/clients/mojo_audio_decoder.cc File media/mojo/clients/mojo_audio_decoder.cc (right): https://codereview.chromium.org/2624213006/diff/1/media/mojo/clients/mojo_audio_decoder.cc#newcode46 media/mojo/clients/mojo_audio_decoder.cc:46: if (!remote_decoder_bound_) One thing I'd like to understand is ...
3 years, 11 months ago (2017-01-17 19:48:10 UTC) #11
sandersd (OOO until July 31)
https://codereview.chromium.org/2624213006/diff/1/media/mojo/clients/mojo_audio_decoder.cc File media/mojo/clients/mojo_audio_decoder.cc (right): https://codereview.chromium.org/2624213006/diff/1/media/mojo/clients/mojo_audio_decoder.cc#newcode46 media/mojo/clients/mojo_audio_decoder.cc:46: if (!remote_decoder_bound_) On 2017/01/17 19:48:10, dcheng wrote: > One ...
3 years, 11 months ago (2017-01-17 20:03:06 UTC) #12
sandersd (OOO until July 31)
https://codereview.chromium.org/2624213006/diff/1/media/mojo/clients/mojo_audio_decoder.cc File media/mojo/clients/mojo_audio_decoder.cc (right): https://codereview.chromium.org/2624213006/diff/1/media/mojo/clients/mojo_audio_decoder.cc#newcode46 media/mojo/clients/mojo_audio_decoder.cc:46: if (!remote_decoder_bound_) > I would prefer we just check ...
3 years, 11 months ago (2017-01-17 20:12:28 UTC) #13
dcheng
https://codereview.chromium.org/2624213006/diff/1/media/mojo/clients/mojo_audio_decoder.cc File media/mojo/clients/mojo_audio_decoder.cc (right): https://codereview.chromium.org/2624213006/diff/1/media/mojo/clients/mojo_audio_decoder.cc#newcode46 media/mojo/clients/mojo_audio_decoder.cc:46: if (!remote_decoder_bound_) On 2017/01/17 20:12:28, sandersd wrote: > > ...
3 years, 11 months ago (2017-01-18 01:39:18 UTC) #14
xhwang
rebase only
3 years, 11 months ago (2017-01-18 21:07:23 UTC) #15
xhwang
PTAL again! https://codereview.chromium.org/2624213006/diff/1/media/mojo/clients/mojo_audio_decoder.cc File media/mojo/clients/mojo_audio_decoder.cc (right): https://codereview.chromium.org/2624213006/diff/1/media/mojo/clients/mojo_audio_decoder.cc#newcode46 media/mojo/clients/mojo_audio_decoder.cc:46: if (!remote_decoder_bound_) On 2017/01/18 01:39:18, dcheng wrote: ...
3 years, 11 months ago (2017-01-18 21:46:58 UTC) #16
dcheng
mojo lgtm https://codereview.chromium.org/2624213006/diff/40001/media/mojo/clients/mojo_audio_decoder.cc File media/mojo/clients/mojo_audio_decoder.cc (right): https://codereview.chromium.org/2624213006/diff/40001/media/mojo/clients/mojo_audio_decoder.cc#newcode133 media/mojo/clients/mojo_audio_decoder.cc:133: DCHECK(!remote_decoder_.is_bound()); FWIW, this DCHECK and the DCHECK ...
3 years, 11 months ago (2017-01-19 00:43:57 UTC) #17
xhwang
comments addressed
3 years, 11 months ago (2017-01-19 18:30:03 UTC) #18
xhwang
https://codereview.chromium.org/2624213006/diff/40001/media/mojo/clients/mojo_audio_decoder.cc File media/mojo/clients/mojo_audio_decoder.cc (right): https://codereview.chromium.org/2624213006/diff/40001/media/mojo/clients/mojo_audio_decoder.cc#newcode133 media/mojo/clients/mojo_audio_decoder.cc:133: DCHECK(!remote_decoder_.is_bound()); On 2017/01/19 00:43:57, dcheng wrote: > FWIW, this ...
3 years, 11 months ago (2017-01-19 18:30:39 UTC) #19
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/2624213006/60001
3 years, 11 months ago (2017-01-19 23:17:27 UTC) #26
commit-bot: I haz the power
3 years, 11 months ago (2017-01-19 23:26:04 UTC) #29
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/2a02ac7ae09857022954bd2627f7...

Powered by Google App Engine
This is Rietveld 408576698