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

Issue 11106004: Allow null buffer resources to be returned through the PPB_ContentDecryptor_Private proxy. (Closed)

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

Description

Allow null buffer resources to be returned through the PPB_ContentDecryptor_Private proxy. This fixes a bug where DeliverBlock() would never be called when no key was available and running out-of-process. Also fixes an issue in PpapiDecryptor::InitializeVideoDecoder() and adds logging that is useful in tracking down these issues. TEST=Run the CDM plugin out-of-process and play before the key is added then add the key. Playback should succeed. Upcoming change to encrypted_media_browsertest will make it run OOP. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=161709

Patch Set 1 : #

Total comments: 14

Patch Set 2 : Improved logging. #

Patch Set 3 : Rebased for try bots #

Patch Set 4 : Rebased #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -10 lines) Patch
M ppapi/proxy/ppb_instance_proxy.cc View 1 2 3 4 chunks +12 lines, -5 lines 0 comments Download
M webkit/media/crypto/ppapi_decryptor.cc View 2 chunks +8 lines, -4 lines 0 comments Download
M webkit/media/crypto/proxy_decryptor.cc View 1 5 chunks +5 lines, -1 line 1 comment Download
M webkit/plugins/ppapi/ppapi_plugin_instance.cc View 1 2 3 5 chunks +8 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
ddorwin
8 years, 2 months ago (2012-10-11 23:52:44 UTC) #1
Tom Finegan
http://codereview.chromium.org/11106004/diff/2001/ppapi/proxy/ppb_instance_proxy.cc File ppapi/proxy/ppb_instance_proxy.cc (right): http://codereview.chromium.org/11106004/diff/2001/ppapi/proxy/ppb_instance_proxy.cc#newcode560 ppapi/proxy/ppb_instance_proxy.cc:560: // TODO(tomfinegan): Handle null decrypted_frame after landing other patches. ...
8 years, 2 months ago (2012-10-11 23:57:56 UTC) #2
xhwang
lg % mostly nits. you need to address tom's comments. http://codereview.chromium.org/11106004/diff/2001/webkit/media/crypto/ppapi/cdm_wrapper.cc File webkit/media/crypto/ppapi/cdm_wrapper.cc (right): http://codereview.chromium.org/11106004/diff/2001/webkit/media/crypto/ppapi/cdm_wrapper.cc#newcode624 ...
8 years, 2 months ago (2012-10-12 00:06:44 UTC) #3
ddorwin
http://codereview.chromium.org/11106004/diff/2001/ppapi/proxy/ppb_instance_proxy.cc File ppapi/proxy/ppb_instance_proxy.cc (right): http://codereview.chromium.org/11106004/diff/2001/ppapi/proxy/ppb_instance_proxy.cc#newcode560 ppapi/proxy/ppb_instance_proxy.cc:560: // TODO(tomfinegan): Handle null decrypted_frame after landing other patches. ...
8 years, 2 months ago (2012-10-12 00:21:16 UTC) #4
xhwang
lgtm
8 years, 2 months ago (2012-10-12 00:24:33 UTC) #5
ddorwin
brettw, Please OWNERS review the two *ppapi/* files.
8 years, 2 months ago (2012-10-12 00:25:55 UTC) #6
Tom Finegan (google)
On 2012/10/12 00:25:55, ddorwin wrote: > brettw, Please OWNERS review the two *ppapi/* files. lgtm
8 years, 2 months ago (2012-10-12 00:30:06 UTC) #7
brettw
https://codereview.chromium.org/11106004/diff/1013/webkit/media/crypto/proxy_decryptor.cc File webkit/media/crypto/proxy_decryptor.cc (right): https://codereview.chromium.org/11106004/diff/1013/webkit/media/crypto/proxy_decryptor.cc#newcode307 webkit/media/crypto/proxy_decryptor.cc:307: DVLOG(2) << "OnBufferDecrypted() - status: " << status; I ...
8 years, 2 months ago (2012-10-12 19:44:06 UTC) #8
ddorwin
On 2012/10/12 19:44:06, brettw wrote: > https://codereview.chromium.org/11106004/diff/1013/webkit/media/crypto/proxy_decryptor.cc > File webkit/media/crypto/proxy_decryptor.cc (right): > > https://codereview.chromium.org/11106004/diff/1013/webkit/media/crypto/proxy_decryptor.cc#newcode307 > ...
8 years, 2 months ago (2012-10-12 19:50:18 UTC) #9
brettw
lgtm rubberstamp. I'm usually very anti-DVLOG so I'd remove them as soon as this is ...
8 years, 2 months ago (2012-10-12 23:25:33 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ddorwin@chromium.org/11106004/1013
8 years, 2 months ago (2012-10-12 23:35:47 UTC) #11
commit-bot: I haz the power
8 years, 2 months ago (2012-10-13 03:55:34 UTC) #12
Change committed as 161709

Powered by Google App Engine
This is Rietveld 408576698