diff options
author | Hans de Goede <hdegoede@redhat.com> | 2016-02-07 14:24:29 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2016-03-01 16:36:24 +0300 |
commit | 5c915c68763889f0183a1cc61c84bb228b60124a (patch) | |
tree | caf3ac9ee5af08d328460a5e98eea9e48774ece2 /drivers/media/usb/gspca/ov519.c | |
parent | b19581a94fb1c49afc0339a65f1ebd0e4ff80dcd (diff) | |
download | linux-5c915c68763889f0183a1cc61c84bb228b60124a.tar.xz |
[media] bttv: Width must be a multiple of 16 when capturing planar formats
On my bttv card "Hauppauge WinTV [card=10]" capturing in YV12 fmt at max
size results in a solid green rectangle being captured (all colors 0 in
YUV).
This turns out to be caused by max-width (924) not being a multiple of 16.
We've likely never hit this problem before since normally xawtv / tvtime,
etc. will prefer packed pixel formats. But when using a video card which
is using xf86-video-modesetting + glamor, only planar XVideo fmts are
available, and xawtv will chose a matching capture format to avoid needing
to do conversion, triggering the solid green window problem.
Cc: stable@vger.kernel.org
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/usb/gspca/ov519.c')
0 files changed, 0 insertions, 0 deletions