[media] em28xx: implement VIDIOC_ENUM_FRAMESIZES
authorMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 16 Oct 2011 15:52:43 +0000 (13:52 -0200)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 19 Oct 2011 03:51:42 +0000 (01:51 -0200)
commit1c5c50685a04668a4a4431534bca804969fac3c6
tree7428a8db5592a362fbd5ef2594b50d4161c1aec7
parenta461e0ad3d27b6342140566909a80db30d151a91
[media] em28xx: implement VIDIOC_ENUM_FRAMESIZES

Pidgin uses gstreamer (and libv4l) to work. Without implementing this ioctl,
it won't detect properly the size range, and driver will fail.

So, this patch is required, in order to use an em27xx webcam, like
Silvercrest.

The pigdin/gstreamer/libv4l needs to be fixed, as it shouldn't assume
that all drivers will implement this optional ioctl, but, at least now,
devices with em28xx have a better chance of working with pidgin.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/em28xx/em28xx-video.c