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

Issue 11414138: Encrypted Media: No NeedKey if --enable-encrypted-media is not set. (Closed)

Created:
8 years, 1 month ago by xhwang
Modified:
8 years ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, feature-media-reviews_chromium.org, tburkard+watch_chromium.org, jam, joi+watch-content_chromium.org, gavinp+prer_chromium.org, dominich+watch_chromium.org, darin-cc_chromium.org, mmenke, darin (slow to review)
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Encrypted Media: No NeedKey if --enable-encrypted-media is not set. When --enable-encrypted-media is not set, NeedKey event should not be fired from media pipeline. Also, the decoder should declare decode error or unsupported error instead of waiting for decryptor to be set/initialized. BUG= TEST=tested EME test page with --enable-encrypted-media set and not set. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=170422

Patch Set 1 #

Total comments: 2

Patch Set 2 : resolve comments #

Total comments: 3

Patch Set 3 : rebase only #

Patch Set 4 : fix license year #

Patch Set 5 : move switches::kEnableEncryptedMedia to media/base/media_switches.h #

Total comments: 2

Patch Set 6 : #

Patch Set 7 : fix tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+63 lines, -50 lines) Patch
M content/browser/DEPS View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M content/browser/encrypted_media_browsertest.cc View 1 2 3 4 2 chunks +3 lines, -2 lines 0 comments Download
M content/public/common/content_switches.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M content/public/common/content_switches.cc View 1 2 1 chunk +0 lines, -4 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M media/base/media_switches.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M media/base/media_switches.cc View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M media/filters/ffmpeg_video_decoder.cc View 1 2 2 chunks +6 lines, -1 line 0 comments Download
M media/filters/ffmpeg_video_decoder_unittest.cc View 1 2 3 4 5 6 9 chunks +9 lines, -9 lines 0 comments Download
M webkit/media/filter_helpers.cc View 1 2 1 chunk +21 lines, -21 lines 0 comments Download
M webkit/media/webmediaplayer_impl.h View 1 1 chunk +1 line, -1 line 0 comments Download
M webkit/media/webmediaplayer_impl.cc View 1 2 3 4 8 chunks +15 lines, -10 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
xhwang
PTAL!
8 years, 1 month ago (2012-11-23 08:03:44 UTC) #1
scherkus (not reviewing)
https://codereview.chromium.org/11414138/diff/1/webkit/media/webmediaplayer_impl.cc File webkit/media/webmediaplayer_impl.cc (right): https://codereview.chromium.org/11414138/diff/1/webkit/media/webmediaplayer_impl.cc#newcode191 webkit/media/webmediaplayer_impl.cc:191: if (encrypted_media_enabled) { I believe you can simplify a ...
8 years ago (2012-11-27 23:17:42 UTC) #2
xhwang
PTAL! https://codereview.chromium.org/11414138/diff/1/webkit/media/webmediaplayer_impl.cc File webkit/media/webmediaplayer_impl.cc (right): https://codereview.chromium.org/11414138/diff/1/webkit/media/webmediaplayer_impl.cc#newcode191 webkit/media/webmediaplayer_impl.cc:191: if (encrypted_media_enabled) { On 2012/11/27 23:17:43, scherkus wrote: ...
8 years ago (2012-11-29 02:24:14 UTC) #3
scherkus (not reviewing)
+stuartmorgan for chrome/browser/DEPS question https://codereview.chromium.org/11414138/diff/4001/chrome/browser/DEPS File chrome/browser/DEPS (right): https://codereview.chromium.org/11414138/diff/4001/chrome/browser/DEPS#newcode43 chrome/browser/DEPS:43: "+webkit/media", stuartmorgan: can you comment ...
8 years ago (2012-11-29 02:48:00 UTC) #4
stuartmorgan
On 2012/11/29 02:48:00, scherkus wrote: > it's for a flag to enable a web feature ...
8 years ago (2012-11-29 09:07:35 UTC) #5
xhwang
On 2012/11/29 09:07:35, stuartmorgan wrote: > On 2012/11/29 02:48:00, scherkus wrote: > > it's for ...
8 years ago (2012-11-29 16:52:18 UTC) #6
scherkus (not reviewing)
On 2012/11/29 16:52:18, xhwang wrote: > On 2012/11/29 09:07:35, stuartmorgan wrote: > > On 2012/11/29 ...
8 years ago (2012-11-29 18:08:26 UTC) #7
xhwang
On 2012/11/29 18:08:26, scherkus wrote: > On 2012/11/29 16:52:18, xhwang wrote: > > On 2012/11/29 ...
8 years ago (2012-11-29 19:48:06 UTC) #8
scherkus (not reviewing)
lgtm
8 years ago (2012-11-29 20:50:36 UTC) #9
xhwang
jam@: could you please do an OWNERS review on content/ ?
8 years ago (2012-11-29 21:23:08 UTC) #10
jam
lgtm https://codereview.chromium.org/11414138/diff/7003/content/browser/DEPS File content/browser/DEPS (right): https://codereview.chromium.org/11414138/diff/7003/content/browser/DEPS#newcode7 content/browser/DEPS:7: "+media/base/media_switches.h", # For switches::kEnableEncryptedMedia. nit: just make this ...
8 years ago (2012-11-29 21:55:38 UTC) #11
xhwang
https://codereview.chromium.org/11414138/diff/7003/content/browser/DEPS File content/browser/DEPS (right): https://codereview.chromium.org/11414138/diff/7003/content/browser/DEPS#newcode7 content/browser/DEPS:7: "+media/base/media_switches.h", # For switches::kEnableEncryptedMedia. On 2012/11/29 21:55:38, John Abd-El-Malek ...
8 years ago (2012-11-29 22:17:05 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xhwang@chromium.org/11414138/14017
8 years ago (2012-11-29 22:17:38 UTC) #13
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) media_unittests
8 years ago (2012-11-29 22:59:06 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xhwang@chromium.org/11414138/11012
8 years ago (2012-11-30 06:30:27 UTC) #15
commit-bot: I haz the power
8 years ago (2012-11-30 08:28:34 UTC) #16
Message was sent while issue was closed.
Change committed as 170422

Powered by Google App Engine
This is Rietveld 408576698