V4L/DVB: sh_mobile_ceu_camera.c: preserve output window on VIDIOC_S_CROP
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Tue, 23 Mar 2010 14:23:31 +0000 (11:23 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 19 May 2010 15:57:59 +0000 (12:57 -0300)
commite622681d124688d3caf1bf62cce96465a9078a11
tree3be3e8901fd47d09aad27938b6f93ce09fdd5290
parent730947bc141b7e8feb091dcf3ee8e6a7b9379512
V4L/DVB: sh_mobile_ceu_camera.c: preserve output window on VIDIOC_S_CROP

Current version of sh_mobile_ceu_camera.c interprets the V4L2 API specification
of the VIDIOC_S_CROP ioctl as "change input (for capture devices) area,
preserve scaling factors, therefore change output window," whereas a more
intuitive interpretation of the API is "change input area, preserve output
window." Switch sh_mobile_ceu_camera.c to use this interpretation.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/sh_mobile_ceu_camera.c