Chromium Code Reviews| Index: content/common/gpu/media/v4l2_video_device.cc |
| diff --git a/content/common/gpu/media/v4l2_video_device.cc b/content/common/gpu/media/v4l2_video_device.cc |
| index 0a094ba6e47d143bb36b7b602094cfb4d73fff44..7adc31d754bcc78f8f468ae35ae84c49f7dc85c7 100644 |
| --- a/content/common/gpu/media/v4l2_video_device.cc |
| +++ b/content/common/gpu/media/v4l2_video_device.cc |
| @@ -131,7 +131,7 @@ gfx::Size V4L2Device::CodedSizeFromV4L2Format(struct v4l2_format format) { |
| if (V4L2_TYPE_IS_MULTIPLANAR(format.type)) { |
| for (size_t i = 0; i < format.fmt.pix_mp.num_planes; ++i) { |
| - DCHECK_EQ(format.fmt.pix_mp.plane_fmt[i].bytesperline, |
| + DCHECK_LE(format.fmt.pix_mp.plane_fmt[i].bytesperline, |
|
wuchengli
2014/08/26 09:20:53
Remove. This is a kernel bug.
henryhsu
2014/08/27 02:59:05
Done.
|
| base::checked_cast<__u32>(media::VideoFrame::RowBytes( |
| i, frame_format, coded_size.width()))); |
| } |