Index: content/common/gpu/client/gpu_jpeg_decode_accelerator_host.cc |
diff --git a/content/common/gpu/client/gpu_jpeg_decode_accelerator_host.cc b/content/common/gpu/client/gpu_jpeg_decode_accelerator_host.cc |
index 647010170012f2cc9e9aa0d93f8a2084ac909730..58d9172d82fc615ecfe1a325638238832f3d1ec2 100644 |
--- a/content/common/gpu/client/gpu_jpeg_decode_accelerator_host.cc |
+++ b/content/common/gpu/client/gpu_jpeg_decode_accelerator_host.cc |
@@ -176,6 +176,7 @@ void GpuJpegDecodeAcceleratorHost::Decode( |
decode_params.input_buffer_id = bitstream_buffer.id(); |
decode_params.input_buffer_handle = input_handle; |
decode_params.input_buffer_size = bitstream_buffer.size(); |
+ decode_params.input_buffer_offset = bitstream_buffer.offset(); |
Pawel Osciak
2015/12/24 00:58:01
We must do a base::checked_cast here and in other
Owen Lin
2015/12/24 08:01:35
Done.
|
decode_params.output_video_frame_handle = output_handle; |
decode_params.output_buffer_size = output_buffer_size; |
Send(new AcceleratedJpegDecoderMsg_Decode(decoder_route_id_, decode_params)); |