| Index: content/common/gpu/media/android_video_decode_accelerator.cc
|
| diff --git a/content/common/gpu/media/android_video_decode_accelerator.cc b/content/common/gpu/media/android_video_decode_accelerator.cc
|
| index 67b12595e63c98a88315ee1af234df1f183caeaa..8a0f7db1482e42716f03a58977aadcd920ded71c 100644
|
| --- a/content/common/gpu/media/android_video_decode_accelerator.cc
|
| +++ b/content/common/gpu/media/android_video_decode_accelerator.cc
|
| @@ -138,6 +138,12 @@ bool AndroidVideoDecodeAccelerator::Initialize(media::VideoCodecProfile profile,
|
| return true;
|
| }
|
|
|
| +void AndroidVideoDecodeAccelerator::SetCdm(int /* cdm_id */) {
|
| + // TODO(xhwang): Implement CDM setting here.
|
| + NOTIMPLEMENTED();
|
| + NotifyCdmAttached(false);
|
| +}
|
| +
|
| void AndroidVideoDecodeAccelerator::DoIOTask() {
|
| DCHECK(thread_checker_.CalledOnValidThread());
|
| TRACE_EVENT0("media", "AVDA::DoIOTask");
|
| @@ -583,6 +589,10 @@ void AndroidVideoDecodeAccelerator::PostError(
|
| state_ = ERROR;
|
| }
|
|
|
| +void AndroidVideoDecodeAccelerator::NotifyCdmAttached(bool success) {
|
| + client_->NotifyCdmAttached(success);
|
| +}
|
| +
|
| void AndroidVideoDecodeAccelerator::NotifyPictureReady(
|
| const media::Picture& picture) {
|
| client_->PictureReady(picture);
|
|
|