[media] gspca - main: Better values for V4L2_FMT_FLAG_COMPRESSED
authorJean-François Moine <moinejf@free.fr>
Wed, 10 Aug 2011 10:32:57 +0000 (07:32 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 11 Sep 2011 12:27:41 +0000 (09:27 -0300)
In vidioc_enum_fmt_vid_cap, the 'compressed' flag was set from the
pixelformat, and all pixelformats were not treated.
Now, images are told as compressed when the image size is smaller than
its number of pixels.

Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

No differences found