| Index: webrtc/modules/video_capture/linux/video_capture_linux.cc
|
| diff --git a/webrtc/modules/video_capture/linux/video_capture_linux.cc b/webrtc/modules/video_capture/linux/video_capture_linux.cc
|
| index 401a69d8c12c813b36674b86a8d40d1d870abc88..13149dcafcd705637d04c3b0bbf8aabc1502904c 100644
|
| --- a/webrtc/modules/video_capture/linux/video_capture_linux.cc
|
| +++ b/webrtc/modules/video_capture/linux/video_capture_linux.cc
|
| @@ -245,7 +245,7 @@ int32_t VideoCaptureModuleV4L2::StartCapture(
|
| // continue
|
| } else {
|
| // check the capability flag is set to V4L2_CAP_TIMEPERFRAME.
|
| - if (streamparms.parm.capture.capability == V4L2_CAP_TIMEPERFRAME) {
|
| + if (streamparms.parm.capture.capability & V4L2_CAP_TIMEPERFRAME) {
|
| // driver supports the feature. Set required framerate.
|
| memset(&streamparms, 0, sizeof(streamparms));
|
| streamparms.type = V4L2_BUF_TYPE_VIDEO_CAPTURE;
|
|
|