]> git.baikalelectronics.ru Git - kernel.git/commit
[media] v4l: emulate old crop API using extended crop/compose API
authorTomasz Stanislawski <t.stanislaws@samsung.com>
Tue, 22 Mar 2011 17:04:47 +0000 (14:04 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 11 Jan 2012 01:18:52 +0000 (23:18 -0200)
commitcfb308d2907813714fb2a8adef93c6ef3ec9c48d
tree701d7bbd50929cec7def1d293768a00e29be9fa8
parent95ae8493a0f3e2283821bb4048099b8a4e871536
[media] v4l: emulate old crop API using extended crop/compose API

This patch allows new video drivers to work correctly with applications that
use the old-style crop API.  The old crop ioctl is emulated by using selection
callbacks.

Signed-off-by: Tomasz Stanislawski <t.stanislaws@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/v4l2-ioctl.c