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

Issue 119203003: Drop DecryptConfig::data_offset_. (Closed)

Created:
6 years, 11 months ago by xhwang
Modified:
6 years, 11 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, feature-media-reviews_chromium.org, ddorwin
Visibility:
Public.

Description

Drop DecryptConfig::data_offset_. This CL drops DecryptConfig::data_offset_ and moves the offset parsing code into WebM demuxers. This allows us to remove offset passing/calculation code in several layers of the media pipeline. Background: We used to have HMAC check in encrypted WebM RFC, which requires us to keep the IV together with the encrypted frame, hence the offset. Now the HMAC check is dropped from the RFC so offset is not necessary anymore. BUG=298569 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=243672

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : fix test #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -127 lines) Patch
M content/renderer/media/android/media_source_delegate.cc View 1 1 chunk +2 lines, -8 lines 0 comments Download
M content/renderer/pepper/content_decryptor_delegate.cc View 1 chunk +2 lines, -1 line 0 comments Download
M media/base/decrypt_config.h View 2 chunks +0 lines, -12 lines 0 comments Download
M media/base/decrypt_config.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M media/cdm/aes_decryptor.cc View 2 chunks +4 lines, -8 lines 0 comments Download
M media/cdm/aes_decryptor_unittest.cc View 1 2 19 chunks +22 lines, -33 lines 0 comments Download
M media/cdm/ppapi/external_clear_key/clear_key_cdm.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M media/filters/decrypting_audio_decoder_unittest.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M media/filters/decrypting_demuxer_stream.cc View 1 chunk +1 line, -2 lines 0 comments Download
M media/filters/decrypting_demuxer_stream_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M media/filters/decrypting_video_decoder_unittest.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M media/filters/fake_demuxer_stream.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M media/filters/ffmpeg_demuxer.cc View 3 chunks +21 lines, -12 lines 0 comments Download
M media/mp4/mp4_stream_parser.cc View 2 chunks +1 line, -2 lines 0 comments Download
M media/mp4/track_run_iterator.cc View 1 chunk +0 lines, -1 line 0 comments Download
M media/webm/webm_cluster_parser.cc View 2 chunks +22 lines, -18 lines 2 comments Download
M media/webm/webm_cluster_parser_unittest.cc View 1 2 3 4 2 chunks +2 lines, -4 lines 0 comments Download
M media/webm/webm_crypto_helpers.h View 1 2 3 1 chunk +10 lines, -9 lines 0 comments Download
M media/webm/webm_crypto_helpers.cc View 2 chunks +10 lines, -8 lines 2 comments Download

Messages

Total messages: 12 (0 generated)
xhwang
I'll update pepper in another CL. PTAL.
6 years, 11 months ago (2013-12-30 23:46:56 UTC) #1
xhwang
+dalecurtis, PTAL!
6 years, 11 months ago (2014-01-02 18:56:40 UTC) #2
DaleCurtis
Mechanically this lgtm % nits. I defer to ddorwin@ for whether or not removing the ...
6 years, 11 months ago (2014-01-02 19:31:09 UTC) #3
DaleCurtis
Oh, one thing though, provide some more details in the description about what this change ...
6 years, 11 months ago (2014-01-02 19:39:34 UTC) #4
ddorwin
Removal LG, and I skimmed the CL. I defer to Dale on the details.
6 years, 11 months ago (2014-01-07 23:56:27 UTC) #5
xhwang
On 2014/01/02 19:39:34, DaleCurtis wrote: > Oh, one thing though, provide some more details in ...
6 years, 11 months ago (2014-01-08 00:42:52 UTC) #6
xhwang
Comments only. dalecurtis: Please take a look at my comments to see if you are ...
6 years, 11 months ago (2014-01-08 00:43:35 UTC) #7
xhwang
dmichael@: Please OWNERS review: content/renderer/pepper/content_decryptor_delegate.cc I'll clean up the pepper part in another CL.
6 years, 11 months ago (2014-01-08 00:44:58 UTC) #8
DaleCurtis
still lgtm.
6 years, 11 months ago (2014-01-08 00:55:03 UTC) #9
dmichael (off chromium)
pepper lgtm
6 years, 11 months ago (2014-01-08 17:51:25 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/119203003/130001
6 years, 11 months ago (2014-01-08 17:53:09 UTC) #11
commit-bot: I haz the power
6 years, 11 months ago (2014-01-08 22:23:19 UTC) #12
Message was sent while issue was closed.
Change committed as 243672

Powered by Google App Engine
This is Rietveld 408576698