diff options
author | Ian Armstrong <ian@iarmst.demon.co.uk> | 2007-08-03 09:44:13 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-10-09 22:04:25 -0300 |
commit | b4b38bd63c07c8927b43c6c378eca1db10fdaf2e (patch) | |
tree | 396c4616467742a20141d20daa40e7f9d6dfa4a8 /drivers/media/dvb | |
parent | 813ce47cee33964ff710d2c91063548773cb4cd5 (diff) |
V4L/DVB (5970): ivtv: prevent vertical overflow of yuv output
When the video standard is changed, there's no guarantee the framebuffer
dimensions are still legal. The yuv output code uses these dimensions to
calculate the size & position for the video overlay. If the framebuffer
dimensions are now illegal, the output may exceed the vertical limit of the
display, causing distortion.
This patch adds an additional check to ensure the output doesn't exceed
the limits for the current video standard, cropping if required.
Signed-off-by: Ian Armstrong <ian@iarmst.demon.co.uk>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb')
0 files changed, 0 insertions, 0 deletions