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 0dd33a06ad33cbdf260c53055a585e247d416576..06ba07219cb58022d15b865cf76bd1cf61067b81 100644 |
--- a/content/common/gpu/media/v4l2_video_encode_accelerator.cc |
+++ b/content/common/gpu/media/v4l2_video_encode_accelerator.cc |
@@ -872,7 +872,7 @@ bool V4L2VideoEncodeAccelerator::NegotiateInputFormat( |
return false; |
} |
- size_t input_planes_count = media::VideoFrame::NumPlanes(input_format); |
+ int input_planes_count = media::VideoFrame::NumPlanes(input_format); |
xhwang
2014/05/15 00:51:45
What problem is this causing? converting from int
yunlian
2014/05/15 16:34:13
The problem is in the DCHECK_LE in the following l
|
DCHECK_LE(input_planes_count, VIDEO_MAX_PLANES); |
// First see if we the device can use the provided input_format directly. |