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

Issue 1963903002: Remove VideoDecodeAccelerator::SetCdm() and pass the cdm in Initialize() (Closed)

Created:
4 years, 7 months ago by watk
Modified:
4 years, 7 months ago
CC:
chromium-reviews, posciak+watch_chromium.org, feature-media-reviews_chromium.org, piman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove VideoDecodeAccelerator::SetCdm() and pass the cdm in Initialize() When SetCdm was written we didn't necessarily have the CDM ID when we called VDA::Initialize(). Now we do, so we can simplify things by removing SetCdm. BUG=610520 Committed: https://crrev.com/8b0527c03f250052e4cc41356549279d2ebfce9c Cr-Commit-Position: refs/heads/master@{#393150}

Patch Set 1 : #

Total comments: 6

Patch Set 2 : sandersd's comments #

Patch Set 3 : Add cdm_id to paramtraits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -128 lines) Patch
M media/filters/gpu_video_decoder.cc View 2 chunks +9 lines, -16 lines 0 comments Download
M media/gpu/android_video_decode_accelerator.h View 3 chunks +5 lines, -5 lines 0 comments Download
M media/gpu/android_video_decode_accelerator.cc View 1 5 chunks +54 lines, -66 lines 0 comments Download
M media/gpu/ipc/client/gpu_video_decode_accelerator_host.h View 1 chunk +0 lines, -1 line 0 comments Download
M media/gpu/ipc/client/gpu_video_decode_accelerator_host.cc View 1 chunk +0 lines, -7 lines 0 comments Download
M media/gpu/ipc/common/media_param_traits_macros.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M media/gpu/ipc/service/gpu_video_decode_accelerator.h View 1 chunk +0 lines, -1 line 0 comments Download
M media/gpu/ipc/service/gpu_video_decode_accelerator.cc View 2 chunks +0 lines, -6 lines 0 comments Download
M media/video/video_decode_accelerator.h View 1 4 chunks +13 lines, -17 lines 0 comments Download
M media/video/video_decode_accelerator.cc View 2 chunks +0 lines, -9 lines 0 comments Download

Messages

Total messages: 17 (7 generated)
watk
sandersd: please review timav: FYI and a question: how can I test the CDM initialization ...
4 years, 7 months ago (2016-05-09 23:34:31 UTC) #3
watk
https://codereview.chromium.org/1963903002/diff/20001/media/gpu/android_video_decode_accelerator.cc File media/gpu/android_video_decode_accelerator.cc (left): https://codereview.chromium.org/1963903002/diff/20001/media/gpu/android_video_decode_accelerator.cc#oldcode378 media/gpu/android_video_decode_accelerator.cc:378: DCHECK(!is_encrypted_ || deferred_initialization_pending_); DCHECK is below now https://codereview.chromium.org/1963903002/diff/20001/media/gpu/android_video_decode_accelerator.cc#oldcode436 media/gpu/android_video_decode_accelerator.cc:436: ...
4 years, 7 months ago (2016-05-09 23:40:00 UTC) #4
sandersd (OOO until July 31)
lgtm https://codereview.chromium.org/1963903002/diff/20001/media/gpu/android_video_decode_accelerator.cc File media/gpu/android_video_decode_accelerator.cc (right): https://codereview.chromium.org/1963903002/diff/20001/media/gpu/android_video_decode_accelerator.cc#newcode436 media/gpu/android_video_decode_accelerator.cc:436: DCHECK(deferred_initialization_pending_); We should handle this case gracefully (return ...
4 years, 7 months ago (2016-05-10 00:09:54 UTC) #5
watk
4 years, 7 months ago (2016-05-10 00:18:59 UTC) #6
Tima Vaisburd
On 2016/05/09 23:34:31, watk wrote: > sandersd: please review > timav: FYI and a question: ...
4 years, 7 months ago (2016-05-10 00:20:19 UTC) #7
watk
On 2016/05/10 00:20:19, Tima Vaisburd wrote: > On 2016/05/09 23:34:31, watk wrote: > > sandersd: ...
4 years, 7 months ago (2016-05-10 01:10:01 UTC) #8
watk
Tested with xhwang's in progress patch to get EME working again, and I discovered that ...
4 years, 7 months ago (2016-05-12 00:12:23 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1963903002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1963903002/60001
4 years, 7 months ago (2016-05-12 00:14:15 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years, 7 months ago (2016-05-12 02:29:37 UTC) #15
commit-bot: I haz the power
4 years, 7 months ago (2016-05-12 02:30:52 UTC) #17
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/8b0527c03f250052e4cc41356549279d2ebfce9c
Cr-Commit-Position: refs/heads/master@{#393150}

Powered by Google App Engine
This is Rietveld 408576698