linux/drivers/media
Hans de Goede 5a33c31544 [media] bttv: Width must be a multiple of 16 when capturing planar formats
[ Upstream commit 5c915c6876 ]

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>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
History 2016-04-18 08:49:20 -04:00
..
common [media] saa7146: Create a device name before it's used 2014-10-21 08:51:44 -02:00
dvb-core [media] media: dvb-core: Don't force CAN_INVERSION_AUTO in oneshot mode 2016-02-02 13:53:21 -05:00
dvb-frontends [media] tda1004x: only update the frontend properties if locked 2016-02-15 15:42:40 -05:00
firewire [media] firewire: firedtv-avc: fix more potential buffer overflow 2014-09-23 16:13:39 -03:00
i2c [media] adv7511: TX_EDID_PRESENT is still 1 after a disconnect 2016-04-18 08:49:16 -04:00
mmc [media] siano: get rid of CammelCase from smscoreapi.h 2013-03-21 10:03:16 -03:00
parport [media] pms: Fix a bad usage of the stack 2014-09-26 06:47:55 -03:00
pci [media] bttv: Width must be a multiple of 16 when capturing planar formats 2016-04-18 08:49:20 -04:00
platform [media] v4l: vsp1: Fix VI6_WPF_SZCLIP_SIZE_MASK macro 2015-12-03 09:58:08 -05:00
radio [media] wl128x: fix fmdbg compiler warning 2014-10-24 09:27:34 -02:00
rc [media] rc-core: fix remove uevent generation 2015-10-07 10:16:04 -04:00
tuners [media] si2157: return -EINVAL if firmware blob is too big 2016-04-13 20:44:38 -04:00
usb [media] pwc: Add USB id for Philips Spc880nc webcam 2016-04-12 09:10:14 -04:00
v4l2-core [media] media: v4l2-compat-ioctl32: fix missing length copy in put_v4l2_buffer32 2016-04-12 09:10:09 -04:00
Kconfig [media] Kconfig: do not select SPI bus on sub-driver auto-select 2014-09-04 12:18:49 -03:00
Makefile [media] move i2c files into drivers/media/i2c 2012-09-06 18:42:54 -03:00
media-device.c [media] media: Use strlcpy instead of custom code 2014-09-21 20:27:08 -03:00
media-devnode.c [media] media-devnode: just return 0 instead of using a var 2014-09-03 17:59:28 -03:00
media-entity.c [media] media: Check for active links on pads with MEDIA_PAD_FL_MUST_CONNECT flag 2013-12-04 15:03:45 -02:00