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

Issue 11260007: Add FFmpeg audio decoder for the clear key CDM. (Closed)

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

Description

Add FFmpeg audio decoder for the clear key CDM. BUG=141780 TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=164162

Patch Set 1 #

Patch Set 2 : Rebased on 11242005 and 11189082 #

Total comments: 32

Patch Set 3 : Address comments. #

Total comments: 2

Patch Set 4 : Rebased on master and 11242005. #

Total comments: 9

Patch Set 5 : Minor changes to make things work. #

Total comments: 8

Patch Set 6 : Address comments. #

Patch Set 7 : Add TODO. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+487 lines, -30 lines) Patch
M webkit/media/crypto/ppapi/clear_key_cdm.h View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M webkit/media/crypto/ppapi/clear_key_cdm.cc View 1 2 3 4 5 6 5 chunks +63 lines, -23 lines 0 comments Download
A webkit/media/crypto/ppapi/ffmpeg_cdm_audio_decoder.h View 1 2 3 4 5 1 chunk +79 lines, -0 lines 0 comments Download
A webkit/media/crypto/ppapi/ffmpeg_cdm_audio_decoder.cc View 1 2 3 4 5 1 chunk +340 lines, -0 lines 0 comments Download
M webkit/media/crypto/ppapi/ffmpeg_cdm_video_decoder.h View 1 chunk +1 line, -1 line 0 comments Download
M webkit/media/crypto/ppapi/ffmpeg_cdm_video_decoder.cc View 1 2 2 chunks +0 lines, -6 lines 0 comments Download
M webkit/media/webkit_media.gypi View 1 2 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
Tom Finegan
First pass at the audio decoder. Not tested yet. Note: This CL is based on ...
8 years, 2 months ago (2012-10-24 05:03:40 UTC) #1
xhwang
- Is what I'm doing for EoS going to work? Seems weird. Should I just ...
8 years, 2 months ago (2012-10-24 08:18:15 UTC) #2
xhwang
http://codereview.chromium.org/11260007/diff/2001/webkit/media/crypto/ppapi/ffmpeg_cdm_audio_decoder.cc File webkit/media/crypto/ppapi/ffmpeg_cdm_audio_decoder.cc (right): http://codereview.chromium.org/11260007/diff/2001/webkit/media/crypto/ppapi/ffmpeg_cdm_audio_decoder.cc#newcode281 webkit/media/crypto/ppapi/ffmpeg_cdm_audio_decoder.cc:281: base::TimeDelta output_timestamp = GetNextOutputTimestamp(); On 2012/10/24 08:18:15, xhwang wrote: ...
8 years, 2 months ago (2012-10-24 16:33:21 UTC) #3
Tom Finegan
I think everything is resolved, but perhaps I am smoking crack. PTAL, thanks! http://codereview.chromium.org/11260007/diff/2001/webkit/media/crypto/ppapi/ffmpeg_cdm_audio_decoder.cc File ...
8 years, 2 months ago (2012-10-24 21:16:44 UTC) #4
Tom Finegan
On 2012/10/24 21:16:44, Tom Finegan wrote: > I think everything is resolved, but perhaps I ...
8 years, 2 months ago (2012-10-24 21:17:39 UTC) #5
xhwang
Looks good w/ one more comment. Did you test this? http://codereview.chromium.org/11260007/diff/2001/webkit/media/crypto/ppapi/ffmpeg_cdm_audio_decoder.h File webkit/media/crypto/ppapi/ffmpeg_cdm_audio_decoder.h (right): http://codereview.chromium.org/11260007/diff/2001/webkit/media/crypto/ppapi/ffmpeg_cdm_audio_decoder.h#newcode34 ...
8 years, 2 months ago (2012-10-24 22:24:19 UTC) #6
Tom Finegan
http://codereview.chromium.org/11260007/diff/9001/webkit/media/crypto/ppapi/ffmpeg_cdm_audio_decoder.cc File webkit/media/crypto/ppapi/ffmpeg_cdm_audio_decoder.cc (right): http://codereview.chromium.org/11260007/diff/9001/webkit/media/crypto/ppapi/ffmpeg_cdm_audio_decoder.cc#newcode338 webkit/media/crypto/ppapi/ffmpeg_cdm_audio_decoder.cc:338: double decoded_us = (total_frames_decoded_ / samples_per_second_) * On 2012/10/24 ...
8 years, 2 months ago (2012-10-24 23:37:52 UTC) #7
Tom Finegan
On 2012/10/24 22:24:19, xhwang wrote: > Looks good w/ one more comment. Did you test ...
8 years, 2 months ago (2012-10-25 01:09:32 UTC) #8
xhwang
lgtm % nit http://codereview.chromium.org/11260007/diff/12003/webkit/media/crypto/ppapi/ffmpeg_cdm_audio_decoder.cc File webkit/media/crypto/ppapi/ffmpeg_cdm_audio_decoder.cc (right): http://codereview.chromium.org/11260007/diff/12003/webkit/media/crypto/ppapi/ffmpeg_cdm_audio_decoder.cc#newcode285 webkit/media/crypto/ppapi/ffmpeg_cdm_audio_decoder.cc:285: if (serialized_audio_frames_.size() > 0) { nit: ...
8 years, 2 months ago (2012-10-25 01:24:58 UTC) #9
ddorwin
FYI, as far as I got before the new patch set. If these things are ...
8 years, 2 months ago (2012-10-25 01:27:18 UTC) #10
ddorwin
http://codereview.chromium.org/11260007/diff/12003/webkit/media/crypto/ppapi/clear_key_cdm.cc File webkit/media/crypto/ppapi/clear_key_cdm.cc (right): http://codereview.chromium.org/11260007/diff/12003/webkit/media/crypto/ppapi/clear_key_cdm.cc#newcode46 webkit/media/crypto/ppapi/clear_key_cdm.cc:46: av_register_all(); Do you just need a single place to ...
8 years, 2 months ago (2012-10-25 01:34:17 UTC) #11
Tom Finegan
Hopefully now CQ ready... just waiting for the fake audio decoder to land. http://codereview.chromium.org/11260007/diff/13004/webkit/media/crypto/ppapi/clear_key_cdm.cc File ...
8 years, 2 months ago (2012-10-25 01:42:19 UTC) #12
ddorwin
http://codereview.chromium.org/11260007/diff/13004/webkit/media/crypto/ppapi/clear_key_cdm.cc File webkit/media/crypto/ppapi/clear_key_cdm.cc (right): http://codereview.chromium.org/11260007/diff/13004/webkit/media/crypto/ppapi/clear_key_cdm.cc#newcode46 webkit/media/crypto/ppapi/clear_key_cdm.cc:46: av_register_all(); On 2012/10/25 01:42:19, Tom Finegan wrote: > On ...
8 years, 2 months ago (2012-10-25 01:50:03 UTC) #13
Tom Finegan
Added TODO. Tree keeps closing... xhwang's patch is still waiting. Hopefully it'll open soon. http://codereview.chromium.org/11260007/diff/12003/webkit/media/crypto/ppapi/clear_key_cdm.cc ...
8 years, 1 month ago (2012-10-25 04:58:37 UTC) #14
ddorwin
lgtm Let's fix the module init next.
8 years, 1 month ago (2012-10-25 17:34:01 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tomfinegan@chromium.org/11260007/6004
8 years, 1 month ago (2012-10-25 18:00:53 UTC) #16
commit-bot: I haz the power
8 years, 1 month ago (2012-10-25 20:18:27 UTC) #17
Change committed as 164162

Powered by Google App Engine
This is Rietveld 408576698