diff options
author | Simon Farnsworth <simon.farnsworth@onelan.co.uk> | 2015-02-25 13:47:34 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-03-03 11:24:34 -0300 |
commit | 48ab45adcccc0835ac2a09805f3f9dff6b073b6c (patch) | |
tree | 74a59e153827bf00ac84ef261314d3fc9a022197 /drivers/media/pci/cx18/cx18-driver.h | |
parent | [media] media: omap/omap_vout: fix type of input members to omap_vout_setup_vrfb_bufs() (diff) | |
download | linux-dev-48ab45adcccc0835ac2a09805f3f9dff6b073b6c.tar.xz linux-dev-48ab45adcccc0835ac2a09805f3f9dff6b073b6c.zip |
[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>
Diffstat (limited to 'drivers/media/pci/cx18/cx18-driver.h')
-rw-r--r-- | drivers/media/pci/cx18/cx18-driver.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/pci/cx18/cx18-driver.h b/drivers/media/pci/cx18/cx18-driver.h index 207d6e82403b..ec40f2db4e39 100644 --- a/drivers/media/pci/cx18/cx18-driver.h +++ b/drivers/media/pci/cx18/cx18-driver.h @@ -409,6 +409,7 @@ struct cx18_stream { /* Videobuf for YUV video */ u32 pixelformat; u32 vb_bytes_per_frame; + u32 vb_bytes_per_line; struct list_head vb_capture; /* video capture queue */ spinlock_t vb_lock; struct timer_list vb_timeout; |