linux/drivers/media
Trent Piepho bb2e033913 V4L/DVB (5888): zr36067: Driver was not returning correct image size
The driver was returning the size of the (fixed) buffer it allocated as the
sizeimage field in the v4l2 pixel format, rather than the actual size of the
image.  For example, a 192x128 YUYV image is 49152 bytes but the driver would
always return 131072 bytes since if that was the size of the v4l buffer.

This violates the v4l2 spec, which says that sizeimage should be the actual
size of the image for uncompressed formats.  It also caused mplayer to crash.

Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Acked-by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-07-30 16:26:25 -03:00
..
common V4L/DVB (5859): use msecs_to_jiffies on InfraRed RC5 timeout 2007-07-20 17:35:49 -03:00
dvb V4L/DVB (5848): Av7110: fix typo 2007-07-20 17:35:41 -03:00
radio V4L/DVB (5877): radio-gemtek-pci: remove unused structure member 2007-07-20 17:35:56 -03:00
video V4L/DVB (5888): zr36067: Driver was not returning correct image size 2007-07-30 16:26:25 -03:00
Kconfig V4L/DVB (5791): Fix Kbuild for kbd-ir-i2c 2007-07-18 14:24:22 -03:00
Makefile V4L/DVB (5599): Use menuconfig objects II - DVB 2007-05-09 10:12:48 -03:00