| Index: content/renderer/pepper_platform_video_decoder_impl.cc
|
| diff --git a/content/renderer/pepper_platform_video_decoder_impl.cc b/content/renderer/pepper_platform_video_decoder_impl.cc
|
| index 11ef3ea132fb9e3bc5467e43ccbcc1af1935535f..6c0320e665a2a9028fe45f40b2c097b5d947d14f 100644
|
| --- a/content/renderer/pepper_platform_video_decoder_impl.cc
|
| +++ b/content/renderer/pepper_platform_video_decoder_impl.cc
|
| @@ -51,9 +51,6 @@ bool PlatformVideoDecoderImpl::Initialize(const std::vector<uint32>& config) {
|
|
|
| // Set a callback to ensure decoder is only initialized after channel is
|
| // connected and GpuVidoServiceHost message filter is added to channel.
|
| - //
|
| - // TODO(vrk): Initialize should take a callback to be called (on the
|
| - // renderer's thread) when initialization is completed.
|
| base::Closure initialize = base::Bind(
|
| &PlatformVideoDecoderImpl::InitializeDecoder,
|
| base::Unretained(this),
|
| @@ -137,6 +134,10 @@ void PlatformVideoDecoderImpl::PictureReady(const media::Picture& picture) {
|
| client_->PictureReady(picture);
|
| }
|
|
|
| +void PlatformVideoDecoderImpl::NotifyInitializeDone() {
|
| + client_->NotifyInitializeDone();
|
| +}
|
| +
|
| void PlatformVideoDecoderImpl::NotifyEndOfBitstreamBuffer(
|
| int32 bitstream_buffer_id) {
|
| client_->NotifyEndOfBitstreamBuffer(bitstream_buffer_id);
|
|
|