[media] em28xx: VIDIOC_ENUM_FRAMESIZES: consider the scaler limits when calculating...
authorFrank Schaefer <fschaefer.oss@googlemail.com>
Sun, 10 Feb 2013 19:05:14 +0000 (16:05 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 4 Mar 2013 17:43:23 +0000 (14:43 -0300)
commit6c3598e641d447edbaaa05ff0d4cd6da152dc3f4
tree1e5c759841c32eb0cab376d3598dec66989d342d
parentb83741383565f675bd13861fc39cfacdd68d18c1
[media] em28xx: VIDIOC_ENUM_FRAMESIZES: consider the scaler limits when calculating the minimum frame size

Output resolutions <=20% of the input resolution exceed the capabilities of the
scaler.

Signed-off-by: Frank Schäfer <fschaefer.oss@googlemail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/usb/em28xx/em28xx-video.c