| Index: content/common/gpu/media/gpu_video_decode_accelerator.cc
|
| diff --git a/content/common/gpu/media/gpu_video_decode_accelerator.cc b/content/common/gpu/media/gpu_video_decode_accelerator.cc
|
| index 6ad1329446cbfa7450a667076c062f38998920c1..608423d98bcacb8777efdb80fe43b5bc54826f69 100644
|
| --- a/content/common/gpu/media/gpu_video_decode_accelerator.cc
|
| +++ b/content/common/gpu/media/gpu_video_decode_accelerator.cc
|
| @@ -116,6 +116,8 @@ void GpuVideoDecodeAccelerator::NotifyError(
|
|
|
| void GpuVideoDecodeAccelerator::Initialize(
|
| const media::VideoCodecProfile profile,
|
| + const gfx::Size& frame_size,
|
| + const std::vector<uint8_t>& extra_data,
|
| IPC::Message* init_done_msg) {
|
| DCHECK(!video_decode_accelerator_.get());
|
| DCHECK(!init_done_msg_);
|
| @@ -141,7 +143,7 @@ void GpuVideoDecodeAccelerator::Initialize(
|
| stub_->decoder()->GetGLContext()->GetHandle());
|
| #endif // OS_WIN
|
| video_decode_accelerator_ = video_decoder;
|
| - if (!video_decode_accelerator_->Initialize(profile))
|
| + if (!video_decode_accelerator_->Initialize(profile, frame_size, extra_data))
|
| NotifyError(media::VideoDecodeAccelerator::PLATFORM_FAILURE);
|
| #else // Update RenderViewImpl::createMediaPlayer when adding clauses.
|
| NOTIMPLEMENTED() << "HW video decode acceleration not available.";
|
|
|