Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 61269
b: refs/heads/master
c: c5f4836
h: refs/heads/master
i:
  61267: c2a0a0d
v: v3
  • Loading branch information
Thierry MERLE authored and Mauro Carvalho Chehab committed Jul 18, 2007
1 parent 26fd17f commit 360dbde
Show file tree
Hide file tree
Showing 4 changed files with 788 additions and 687 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: ea1f83cee96badc28d3f67ef29ac29c9d0eb0a1b
refs/heads/master: c5f48367fe54c46805774eeea8e828de54a5ad7b
8 changes: 4 additions & 4 deletions trunk/drivers/media/video/usbvision/usbvision-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1831,10 +1831,10 @@ int usbvision_set_output(struct usb_usbvision *usbvision, int width,
frameRate = FRAMERATE_MAX;
}

if (usbvision->tvnorm->id & V4L2_STD_625_50) {
if (usbvision->tvnormId & V4L2_STD_625_50) {
frameDrop = frameRate * 32 / 25 - 1;
}
else if (usbvision->tvnorm->id & V4L2_STD_525_60) {
else if (usbvision->tvnormId & V4L2_STD_525_60) {
frameDrop = frameRate * 32 / 30 - 1;
}

Expand Down Expand Up @@ -2067,7 +2067,7 @@ int usbvision_set_input(struct usb_usbvision *usbvision)
}


if (usbvision->tvnorm->id & V4L2_STD_PAL) {
if (usbvision->tvnormId & V4L2_STD_PAL) {
value[0] = 0xC0;
value[1] = 0x02; //0x02C0 -> 704 Input video line length
value[2] = 0x20;
Expand All @@ -2076,7 +2076,7 @@ int usbvision_set_input(struct usb_usbvision *usbvision)
value[5] = 0x00; //0x0060 -> 96 Input video h offset
value[6] = 0x16;
value[7] = 0x00; //0x0016 -> 22 Input video v offset
} else if (usbvision->tvnorm->id & V4L2_STD_SECAM) {
} else if (usbvision->tvnormId & V4L2_STD_SECAM) {
value[0] = 0xC0;
value[1] = 0x02; //0x02C0 -> 704 Input video line length
value[2] = 0x20;
Expand Down
Loading

0 comments on commit 360dbde

Please sign in to comment.