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

Issue 11189082: Update PluginInstance for audio support for content decryption. (Closed)

Created:
8 years, 2 months ago by xhwang
Modified:
8 years, 2 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Update PluginInstance for audio support for content decryption. BUG=123421 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=163931

Patch Set 1 #

Patch Set 2 : #

Total comments: 41

Patch Set 3 : Update CdmWrapper for audio support. Comment not resolved yet. #

Total comments: 2

Patch Set 4 : Resolve comments. #

Total comments: 10

Patch Set 5 : comments resolved #

Total comments: 2

Patch Set 6 : add NOTREACHED for deserialization failure #

Patch Set 7 : add NOTREACHED for deserialization failure #

Total comments: 6

Patch Set 8 : #

Patch Set 9 : rebase on 11234019 #

Patch Set 10 : rebase #

Patch Set 11 : fix a rebase error #

Patch Set 12 : #

Patch Set 13 : rebase #

Total comments: 8

Patch Set 14 : disallow empty frame in DeserializeAudioFrames #

Patch Set 15 : fix tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+426 lines, -141 lines) Patch
M media/base/decryptor.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M media/filters/decrypting_audio_decoder.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +3 lines, -2 lines 0 comments Download
M media/filters/decrypting_audio_decoder_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +15 lines, -36 lines 0 comments Download
M webkit/media/crypto/ppapi/cdm_wrapper.cc View 1 2 3 4 5 6 7 8 9 8 chunks +84 lines, -10 lines 0 comments Download
M webkit/media/crypto/ppapi/clear_key_cdm.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M webkit/media/crypto/ppapi/clear_key_cdm.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +5 lines, -6 lines 0 comments Download
M webkit/media/crypto/ppapi/content_decryption_module.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 5 chunks +34 lines, -23 lines 0 comments Download
M webkit/media/crypto/ppapi_decryptor.cc View 7 chunks +6 lines, -18 lines 0 comments Download
M webkit/plugins/ppapi/ppapi_plugin_instance.h View 1 2 3 5 chunks +21 lines, -9 lines 0 comments Download
M webkit/plugins/ppapi/ppapi_plugin_instance.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 19 chunks +256 lines, -36 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
xhwang
Hi, last piece at chrome side to support audio in media pipeline. I haven't tested ...
8 years, 2 months ago (2012-10-19 17:07:33 UTC) #1
xhwang
On 2012/10/19 17:07:33, xhwang wrote: > Hi, last piece at chrome side to support audio ...
8 years, 2 months ago (2012-10-19 17:08:12 UTC) #2
Tom Finegan
Mostly LG... http://codereview.chromium.org/11189082/diff/2001/webkit/plugins/ppapi/ppapi_plugin_instance.cc File webkit/plugins/ppapi/ppapi_plugin_instance.cc (right): http://codereview.chromium.org/11189082/diff/2001/webkit/plugins/ppapi/ppapi_plugin_instance.cc#newcode397 webkit/plugins/ppapi/ppapi_plugin_instance.cc:397: bool MakeAudioFrames(PP_Resource audio_frames, On 2012/10/19 17:07:33, xhwang ...
8 years, 2 months ago (2012-10-19 22:53:52 UTC) #3
ddorwin
http://codereview.chromium.org/11189082/diff/2001/webkit/plugins/ppapi/ppapi_plugin_instance.cc File webkit/plugins/ppapi/ppapi_plugin_instance.cc (right): http://codereview.chromium.org/11189082/diff/2001/webkit/plugins/ppapi/ppapi_plugin_instance.cc#newcode397 webkit/plugins/ppapi/ppapi_plugin_instance.cc:397: bool MakeAudioFrames(PP_Resource audio_frames, On 2012/10/19 17:07:33, xhwang wrote: > ...
8 years, 2 months ago (2012-10-20 00:14:36 UTC) #4
xhwang
Comments resolved and updated CdmWrapper. PTAL! http://codereview.chromium.org/11189082/diff/2001/webkit/plugins/ppapi/ppapi_plugin_instance.cc File webkit/plugins/ppapi/ppapi_plugin_instance.cc (right): http://codereview.chromium.org/11189082/diff/2001/webkit/plugins/ppapi/ppapi_plugin_instance.cc#newcode397 webkit/plugins/ppapi/ppapi_plugin_instance.cc:397: bool MakeAudioFrames(PP_Resource audio_frames, ...
8 years, 2 months ago (2012-10-21 19:05:06 UTC) #5
ddorwin
http://codereview.chromium.org/11189082/diff/2001/webkit/plugins/ppapi/ppapi_plugin_instance.cc File webkit/plugins/ppapi/ppapi_plugin_instance.cc (right): http://codereview.chromium.org/11189082/diff/2001/webkit/plugins/ppapi/ppapi_plugin_instance.cc#newcode397 webkit/plugins/ppapi/ppapi_plugin_instance.cc:397: bool MakeAudioFrames(PP_Resource audio_frames, On 2012/10/21 19:05:06, xhwang wrote: > ...
8 years, 2 months ago (2012-10-22 17:47:11 UTC) #6
xhwang
comments resolved. PTAL! http://codereview.chromium.org/11189082/diff/10003/webkit/media/crypto/ppapi/cdm_wrapper.cc File webkit/media/crypto/ppapi/cdm_wrapper.cc (right): http://codereview.chromium.org/11189082/diff/10003/webkit/media/crypto/ppapi/cdm_wrapper.cc#newcode481 webkit/media/crypto/ppapi/cdm_wrapper.cc:481: const LinkedDecryptedBlock& audio_frames, On 2012/10/22 17:47:11, ...
8 years, 2 months ago (2012-10-23 01:53:12 UTC) #7
ddorwin
lgtm % one thing http://codereview.chromium.org/11189082/diff/13002/webkit/plugins/ppapi/ppapi_plugin_instance.cc File webkit/plugins/ppapi/ppapi_plugin_instance.cc (right): http://codereview.chromium.org/11189082/diff/13002/webkit/plugins/ppapi/ppapi_plugin_instance.cc#newcode2807 webkit/plugins/ppapi/ppapi_plugin_instance.cc:2807: return; as discussed offline, NOTREACHED()
8 years, 2 months ago (2012-10-23 02:37:51 UTC) #8
xhwang
http://codereview.chromium.org/11189082/diff/13002/webkit/plugins/ppapi/ppapi_plugin_instance.cc File webkit/plugins/ppapi/ppapi_plugin_instance.cc (right): http://codereview.chromium.org/11189082/diff/13002/webkit/plugins/ppapi/ppapi_plugin_instance.cc#newcode2807 webkit/plugins/ppapi/ppapi_plugin_instance.cc:2807: return; On 2012/10/23 02:37:51, ddorwin wrote: > as discussed ...
8 years, 2 months ago (2012-10-23 02:46:54 UTC) #9
ddorwin
lgtm Thanks. One suggestion. http://codereview.chromium.org/11189082/diff/9002/webkit/plugins/ppapi/ppapi_plugin_instance.cc File webkit/plugins/ppapi/ppapi_plugin_instance.cc (right): http://codereview.chromium.org/11189082/diff/9002/webkit/plugins/ppapi/ppapi_plugin_instance.cc#newcode2806 webkit/plugins/ppapi/ppapi_plugin_instance.cc:2806: // This should not happen ...
8 years, 2 months ago (2012-10-23 02:52:17 UTC) #10
xhwang
http://codereview.chromium.org/11189082/diff/9002/webkit/plugins/ppapi/ppapi_plugin_instance.cc File webkit/plugins/ppapi/ppapi_plugin_instance.cc (right): http://codereview.chromium.org/11189082/diff/9002/webkit/plugins/ppapi/ppapi_plugin_instance.cc#newcode2806 webkit/plugins/ppapi/ppapi_plugin_instance.cc:2806: // This should not happen if the CDM serialized ...
8 years, 2 months ago (2012-10-23 03:14:18 UTC) #11
Tom Finegan
http://codereview.chromium.org/11189082/diff/9002/webkit/media/crypto/ppapi/cdm_wrapper.cc File webkit/media/crypto/ppapi/cdm_wrapper.cc (right): http://codereview.chromium.org/11189082/diff/9002/webkit/media/crypto/ppapi/cdm_wrapper.cc#newcode929 webkit/media/crypto/ppapi/cdm_wrapper.cc:929: // cdm::AudioFrames. Why do we need PP_DecryptedSamplesInfo? Does the ...
8 years, 2 months ago (2012-10-23 03:15:27 UTC) #12
xhwang
http://codereview.chromium.org/11189082/diff/9002/webkit/media/crypto/ppapi/cdm_wrapper.cc File webkit/media/crypto/ppapi/cdm_wrapper.cc (right): http://codereview.chromium.org/11189082/diff/9002/webkit/media/crypto/ppapi/cdm_wrapper.cc#newcode929 webkit/media/crypto/ppapi/cdm_wrapper.cc:929: // cdm::AudioFrames. On 2012/10/23 03:15:27, Tom Finegan wrote: > ...
8 years, 2 months ago (2012-10-23 03:25:09 UTC) #13
xhwang
viettrungluu, Another CL for your OWNERS review. I need to rebase this on top of ...
8 years, 2 months ago (2012-10-23 03:31:15 UTC) #14
Tom Finegan
lgtm On 2012/10/23 03:25:09, xhwang wrote: > http://codereview.chromium.org/11189082/diff/9002/webkit/media/crypto/ppapi/cdm_wrapper.cc > File webkit/media/crypto/ppapi/cdm_wrapper.cc (right): > > http://codereview.chromium.org/11189082/diff/9002/webkit/media/crypto/ppapi/cdm_wrapper.cc#newcode929 ...
8 years, 2 months ago (2012-10-23 03:35:45 UTC) #15
xhwang
viettrungluu, Just rebased. Please do an OWNERS review on ppapi_plugin_instance.* files. Thanks! xhwang
8 years, 2 months ago (2012-10-23 20:24:03 UTC) #16
viettrungluu
http://codereview.chromium.org/11189082/diff/21001/webkit/plugins/ppapi/ppapi_plugin_instance.cc File webkit/plugins/ppapi/ppapi_plugin_instance.cc (right): http://codereview.chromium.org/11189082/diff/21001/webkit/plugins/ppapi/ppapi_plugin_instance.cc#newcode421 webkit/plugins/ppapi/ppapi_plugin_instance.cc:421: timestamp = *(reinterpret_cast<const int64*>(cur)); You should probably use bit_cast ...
8 years, 2 months ago (2012-10-24 16:59:20 UTC) #17
xhwang
Thanks for the review. Comments resolved. PTAL again! http://codereview.chromium.org/11189082/diff/21001/webkit/plugins/ppapi/ppapi_plugin_instance.cc File webkit/plugins/ppapi/ppapi_plugin_instance.cc (right): http://codereview.chromium.org/11189082/diff/21001/webkit/plugins/ppapi/ppapi_plugin_instance.cc#newcode421 webkit/plugins/ppapi/ppapi_plugin_instance.cc:421: timestamp ...
8 years, 2 months ago (2012-10-24 18:57:14 UTC) #18
vtl
lgtm
8 years, 2 months ago (2012-10-24 19:41:43 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xhwang@chromium.org/11189082/33001
8 years, 2 months ago (2012-10-24 19:46:22 UTC) #20
commit-bot: I haz the power
Presubmit check for 11189082-33001 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 2 months ago (2012-10-24 19:46:41 UTC) #21
viettrungluu
lgtm
8 years, 2 months ago (2012-10-24 20:15:04 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xhwang@chromium.org/11189082/37002
8 years, 2 months ago (2012-10-24 20:20:04 UTC) #23
commit-bot: I haz the power
8 years, 2 months ago (2012-10-24 22:34:02 UTC) #24
Change committed as 163931

Powered by Google App Engine
This is Rietveld 408576698