summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx25840/Kconfig
diff options
context:
space:
mode:
authorTrent Piepho <xyzzy@speakeasy.org>2007-04-27 18:56:29 -0700
committerTrent Piepho <xyzzy@speakeasy.org>2007-04-27 18:56:29 -0700
commit0c98a2793c8c7ef5e2350bbe208d21e7bd5e6f8e (patch)
tree37f675f888bfd8b182ec58ff132c513feaf59e58 /linux/drivers/media/video/cx25840/Kconfig
parent0b2b3103e6a71aed14aa4c8c315cfedbc1202237 (diff)
downloadmediapointer-dvb-s2-0c98a2793c8c7ef5e2350bbe208d21e7bd5e6f8e.tar.gz
mediapointer-dvb-s2-0c98a2793c8c7ef5e2350bbe208d21e7bd5e6f8e.tar.bz2
v4l1-compat: Make VIDIOCSPICT return errors in a useful way
From: Trent Piepho <xyzzy@speakeasy.org> Among other things, VIDIOCSPICT sets the pixel format. Some drivers don't support all formats, e.g. cx88 doesn't support the planar formats. The compat code that translates VIDIOCSPICT into V4L2 ioctls doesn't pass on any errors, so a userspace program doesn't know if it has selected an unsupported pixel format. VIDIOCSPICT sets both the memory capture and overlay formats, and it's possible that one will be set while the other will fail, e.g. cx88 doesn't even support overlay. Also, trying to set the overlay format will fail for non-root users. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Diffstat (limited to 'linux/drivers/media/video/cx25840/Kconfig')
0 files changed, 0 insertions, 0 deletions