| Index: content/common/gpu/media/v4l2_video_encode_accelerator.cc
|
| diff --git a/content/common/gpu/media/v4l2_video_encode_accelerator.cc b/content/common/gpu/media/v4l2_video_encode_accelerator.cc
|
| index 88c62669eaa55a1cd8f9ec9362c3d8346f27c49d..4872c41501942e5ec409a738b68509d53d5f8544 100644
|
| --- a/content/common/gpu/media/v4l2_video_encode_accelerator.cc
|
| +++ b/content/common/gpu/media/v4l2_video_encode_accelerator.cc
|
| @@ -222,7 +222,7 @@ void V4L2VideoEncodeAccelerator::UseOutputBitstreamBuffer(
|
|
|
| scoped_ptr<base::SharedMemory> shm(
|
| new base::SharedMemory(buffer.handle(), false));
|
| - if (!shm->Map(buffer.size())) {
|
| + if (!shm->MapAt(buffer.offset(), buffer.size())) {
|
| NOTIFY_ERROR(kPlatformFailureError);
|
| return;
|
| }
|
|
|