]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
V4L/DVB (6341): ivtv: fix resizing MPEG1 streams
authorHans Verkuil <hverkuil@xs4all.nl>
Fri, 12 Oct 2007 15:39:36 +0000 (12:39 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Mon, 22 Oct 2007 14:01:46 +0000 (12:01 -0200)
commit34ca7d3791c6a467ff6810a149bdf78be086c23a
tree60021022df00a9e1639659ac81a01ff0e2dbe943
parent6659e3ed559db2e730947268f9d57869b7a9016c
V4L/DVB (6341): ivtv: fix resizing MPEG1 streams

Resizing an MPEG 1 stream would cut off the right half of the
image due to a missing divide by 2 in VIDIOC_S_FMT.

Also did some minor cleanup in this part of the code.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/ivtv/ivtv-ioctl.c