]> 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)
commitc51c7d3f266994e28b2866537cd175f80e6b0633
tree701d7bbd50929cec7def1d293768a00e29be9fa8
parent8774d393145b8d8c42f8372cf1cb25e3b2051f46
[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