| Index: content/renderer/media/pepper_platform_video_decoder_impl.cc
|
| diff --git a/content/renderer/media/pepper_platform_video_decoder_impl.cc b/content/renderer/media/pepper_platform_video_decoder_impl.cc
|
| index 503cd43dbe56bc745f9e39167d1a3a5115d990cd..9a21a9934fffc640b3cd301f473f75b7d13b42b1 100644
|
| --- a/content/renderer/media/pepper_platform_video_decoder_impl.cc
|
| +++ b/content/renderer/media/pepper_platform_video_decoder_impl.cc
|
| @@ -24,7 +24,10 @@ PlatformVideoDecoderImpl::PlatformVideoDecoderImpl(
|
|
|
| PlatformVideoDecoderImpl::~PlatformVideoDecoderImpl() {}
|
|
|
| -bool PlatformVideoDecoderImpl::Initialize(media::VideoCodecProfile profile) {
|
| +bool PlatformVideoDecoderImpl::Initialize(
|
| + media::VideoCodecProfile profile,
|
| + const gfx::Size& frame_size,
|
| + const std::vector<uint8_t>& extra_data) {
|
| // TODO(vrk): Support multiple decoders.
|
| if (decoder_)
|
| return true;
|
| @@ -44,7 +47,7 @@ bool PlatformVideoDecoderImpl::Initialize(media::VideoCodecProfile profile) {
|
|
|
| // Send IPC message to initialize decoder in GPU process.
|
| decoder_ = channel->CreateVideoDecoder(
|
| - command_buffer_route_id_, profile, this);
|
| + command_buffer_route_id_, profile, frame_size, extra_data, this);
|
| return decoder_.get() != NULL;
|
| }
|
|
|
|
|