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

Issue 11778079: Encrypted Media: Enforcing the CDM to decode audio into S16 integers. (Closed)

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

Description

Encrypted Media: Enforcing the CDM to decode audio into S16 integers. After the new FFmpeg roll, FFmpeg decodes into float instead of integers. Therefore, it may be confusing about what the CDMs are returning. In this CL, we limit the DecryptingAudioDecoder to support S16 only to work around this issue. All CDM implementations are expected to return S16. This is a short term fix for the audio corruption in CDMs. In the future, we need to be able to accept any format returned by the CDMs (see http://crbug.com/169105). BUG=168862 TEST=media_unittests pass; clearkeycdm audio works well. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=176805

Patch Set 1 #

Total comments: 10

Patch Set 2 : resolved comments and splitted cl #

Patch Set 3 : rebase #

Patch Set 4 : update media.gyp #

Patch Set 5 : #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+149 lines, -49 lines) Patch
M media/filters/decrypting_audio_decoder.h View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M media/filters/decrypting_audio_decoder.cc View 1 2 4 chunks +24 lines, -4 lines 0 comments Download
M media/filters/decrypting_audio_decoder_unittest.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M webkit/media/crypto/ppapi/ffmpeg_cdm_audio_decoder.h View 1 4 chunks +16 lines, -3 lines 0 comments Download
M webkit/media/crypto/ppapi/ffmpeg_cdm_audio_decoder.cc View 1 9 chunks +98 lines, -41 lines 0 comments Download
M webkit/media/webkit_media.gypi View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
xhwang
It's a pain to keep ffmpeg_cdm_audio_decoder.cc in sync with ffmpeg_audio_decoder.cc. I am making some changes ...
7 years, 11 months ago (2013-01-10 00:49:28 UTC) #1
DaleCurtis
You mention you're working on having these classes share code? Is there a bug tracking ...
7 years, 11 months ago (2013-01-10 01:24:35 UTC) #2
xhwang
I filed a bug to track the duplication of ffmpeg audio decoder code: http://crbug.com/169203 Also ...
7 years, 11 months ago (2013-01-10 18:17:23 UTC) #3
DaleCurtis
lgtm; refactoring to remove duplicated code can't come soon enough though!
7 years, 11 months ago (2013-01-10 21:45:16 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xhwang@chromium.org/11778079/3002
7 years, 11 months ago (2013-01-12 17:32:45 UTC) #5
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 11 months ago (2013-01-12 17:53:15 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xhwang@chromium.org/11778079/17002
7 years, 11 months ago (2013-01-13 03:47:58 UTC) #7
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 11 months ago (2013-01-13 04:09:28 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xhwang@chromium.org/11778079/21002
7 years, 11 months ago (2013-01-13 06:44:09 UTC) #9
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 11 months ago (2013-01-13 06:57:49 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xhwang@chromium.org/11778079/21005
7 years, 11 months ago (2013-01-14 23:11:35 UTC) #11
commit-bot: I haz the power
7 years, 11 months ago (2013-01-15 06:25:06 UTC) #12
Message was sent while issue was closed.
Change committed as 176805

Powered by Google App Engine
This is Rietveld 408576698