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..becba21457f8a3be46209c98906508ed4d71df73 100644 |
--- a/content/common/gpu/media/v4l2_video_encode_accelerator.cc |
+++ b/content/common/gpu/media/v4l2_video_encode_accelerator.cc |
@@ -873,7 +873,7 @@ bool V4L2VideoEncodeAccelerator::NegotiateInputFormat( |
} |
size_t input_planes_count = media::VideoFrame::NumPlanes(input_format); |
- DCHECK_LE(input_planes_count, VIDEO_MAX_PLANES); |
+ DCHECK_LE(input_planes_count, static_cast<unsigned int>(VIDEO_MAX_PLANES)); |
xhwang
2014/05/15 17:42:24
ditto
|
// First see if we the device can use the provided input_format directly. |
struct v4l2_format format; |
@@ -892,7 +892,7 @@ bool V4L2VideoEncodeAccelerator::NegotiateInputFormat( |
return false; |
input_planes_count = media::VideoFrame::NumPlanes(input_format); |
- DCHECK_LE(input_planes_count, VIDEO_MAX_PLANES); |
+ DCHECK_LE(input_planes_count, static_cast<unsigned int>(VIDEO_MAX_PLANES)); |
xhwang
2014/05/15 17:42:24
ditto
|
// Device might have adjusted parameters, reset them along with the format. |
memset(&format, 0, sizeof(format)); |