[media] cx18: Fix bytes_per_line
authorSimon Farnsworth <simon.farnsworth@onelan.co.uk>
Wed, 25 Feb 2015 16:47:34 +0000 (13:47 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 3 Mar 2015 14:24:34 +0000 (11:24 -0300)
commit48ab45adcccc0835ac2a09805f3f9dff6b073b6c
tree74a59e153827bf00ac84ef261314d3fc9a022197
parentac0b2b3072bf81c2047beb39f1db7a7d745f2f99
[media] cx18: Fix bytes_per_line

Current GStreamer userspace respects the bytes_per_line from the driver. Set
it to something reasonable for the format chosen.

Signed-off-by: Simon Farnsworth <simon.farnsworth@onelan.co.uk>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/pci/cx18/cx18-driver.h
drivers/media/pci/cx18/cx18-ioctl.c