Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 242077
b: refs/heads/master
c: 228ee59
h: refs/heads/master
i:
  242075: 597d915
v: v3
  • Loading branch information
Mike Isely authored and Mauro Carvalho Chehab committed Mar 22, 2011
1 parent 38f42cc commit b9ae1e6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 43823c02245a445b5669d43b1ec07b6d8ae710f5
refs/heads/master: 228ee5928b5d4192a23cda3fdf755a956516c13e
2 changes: 0 additions & 2 deletions trunk/drivers/media/video/pvrusb2/pvrusb2-v4l2.c
Original file line number Diff line number Diff line change
Expand Up @@ -795,12 +795,10 @@ static long pvr2_v4l2_do_ioctl(struct file *file, unsigned int cmd, void *arg)
case VIDIOC_S_CROP:
{
struct v4l2_crop *crop = (struct v4l2_crop *)arg;
struct v4l2_cropcap cap;
if (crop->type != V4L2_BUF_TYPE_VIDEO_CAPTURE) {
ret = -EINVAL;
break;
}
cap.type = V4L2_BUF_TYPE_VIDEO_CAPTURE;
ret = pvr2_ctrl_set_value(
pvr2_hdw_get_ctrl_by_id(hdw, PVR2_CID_CROPL),
crop->c.left);
Expand Down

0 comments on commit b9ae1e6

Please sign in to comment.