summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2014-06-13 04:31:06 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-07-17 18:39:33 -0300
commit9409945c7ff7ba39727df8ede2551bd22e76b58b (patch)
tree4e1c299cabdd92dadcdf6fe49feac0ca8c5d6626 /tools
parent865c4642e3750a257e4e199c2eb60495fd66f530 (diff)
downloadlinux-9409945c7ff7ba39727df8ede2551bd22e76b58b.tar.bz2
[media] v4l2-ioctl: call g_selection before calling cropcap
If the vidioc_cropcap op is implemented by the driver then the v4l2 core will call that directly. If g_selection is available, then the core cropcap implementation uses g_selection to fill in the bounds and defrect and it sets the pixelaspect to 1x1. But if both are available, then I would like to use g_selection to fill in defrect and bounds before calling cropcap. That way the driver's cropcap implementation doesn't have to set defrect or bounds. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions