Fix a little error

This commit is contained in:
AngelCarpintero
2009-11-16 03:56:34 +00:00
parent b86215f11e
commit eda2a1ca03
2 changed files with 1652 additions and 4113 deletions

5763
configure vendored
View File

File diff suppressed because it is too large Load Diff

View File

@@ -494,7 +494,7 @@ static int v4l2_set_mmap(src_v4l2_t * vid_source)
u32 buffer_index;
/* Does the device support streaming? */
if (!vid_source->cap.capabilities & V4L2_CAP_STREAMING)
if (!vid_source->cap.capabilities && V4L2_CAP_STREAMING)
return -1;
memset(&vid_source->req, 0, sizeof(struct v4l2_requestbuffers));