| Index: content/renderer/pepper/video_decoder_shim.cc
|
| diff --git a/content/renderer/pepper/video_decoder_shim.cc b/content/renderer/pepper/video_decoder_shim.cc
|
| index 92ffcdb562302e3e2c69ecd9424a397c85e80001..39b6b0e6869dfe47b3b174dce07c5513810ed0c0 100644
|
| --- a/content/renderer/pepper/video_decoder_shim.cc
|
| +++ b/content/renderer/pepper/video_decoder_shim.cc
|
| @@ -944,10 +944,11 @@ void VideoDecoderShim::AssignPictureBuffers(
|
| std::vector<uint32_t> local_texture_ids(num_textures);
|
| gpu::gles2::GLES2Interface* gles2 = context_provider_->ContextGL();
|
| for (uint32_t i = 0; i < num_textures; i++) {
|
| + DCHECK_EQ(1u, buffers[i].texture_ids().size());
|
| local_texture_ids[i] = gles2->CreateAndConsumeTextureCHROMIUM(
|
| GL_TEXTURE_2D, pending_texture_mailboxes_[i].name);
|
| // Map the plugin texture id to the local texture id.
|
| - uint32_t plugin_texture_id = buffers[i].texture_id();
|
| + uint32_t plugin_texture_id = buffers[i].texture_ids()[0];
|
| texture_id_map_[plugin_texture_id] = local_texture_ids[i];
|
| available_textures_.insert(plugin_texture_id);
|
| }
|
|
|