Index: content/common/gpu/gpu_messages.h |
diff --git a/content/common/gpu/gpu_messages.h b/content/common/gpu/gpu_messages.h |
index 687b3ba1ecb62492802ab40a6e6bc66dc0e9fb3e..4a1f229985a8b5650cdcf4b8fb80303ccd239170 100644 |
--- a/content/common/gpu/gpu_messages.h |
+++ b/content/common/gpu/gpu_messages.h |
@@ -152,6 +152,7 @@ IPC_ENUM_TRAITS(gfx::GpuPreference) |
IPC_ENUM_TRAITS(gpu::error::ContextLostReason) |
IPC_ENUM_TRAITS(media::VideoCodecProfile) |
+IPC_ENUM_TRAITS(media::VideoDecodeAccelerator::TextureTarget); |
//------------------------------------------------------------------------------ |
// GPU Messages |
@@ -501,9 +502,11 @@ IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_BitstreamBufferProcessed, |
int32) /* Processed buffer ID */ |
// Allocate video frames for output of the hardware video decoder. |
-IPC_MESSAGE_ROUTED2(AcceleratedVideoDecoderHostMsg_ProvidePictureBuffers, |
- int32, /* Number of video frames to generate */ |
- gfx::Size) /* Requested size of buffer */ |
+IPC_MESSAGE_ROUTED3( |
+ AcceleratedVideoDecoderHostMsg_ProvidePictureBuffers, |
+ int32, /* Number of video frames to generate */ |
+ gfx::Size, /* Requested size of buffer */ |
+ media::VideoDecodeAccelerator::TextureTarget) /* Texture target */ |
// Decoder reports that a picture is ready and buffer does not need to be passed |
// back to the decoder. |