summaryrefslogtreecommitdiff
path: root/drivers/media/platform
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2016-02-07 09:24:29 -0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-04-12 09:08:50 -0700
commit3c26bcd82af503a92ae4e10223707f2b51ec3cd9 (patch)
tree915784931cbef5294e4c663af417b9a10b56362d /drivers/media/platform
parent454b8cbea62141cdaee224a118678c890c7aa186 (diff)
bttv: Width must be a multiple of 16 when capturing planar formats
commit 5c915c68763889f0183a1cc61c84bb228b60124a upstream. 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. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/media/platform')
0 files changed, 0 insertions, 0 deletions