[media] v4l2-ioctl: set readbuffers to 2 in g_parm
authorHans Verkuil <hans.verkuil@cisco.com>
Fri, 25 May 2012 14:51:31 +0000 (11:51 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 11 Jun 2012 21:09:33 +0000 (18:09 -0300)
commit0c142c86991551b8b9675ab72609f7a29ee2e1e3
tree05171776bbb35420cb95bea3a16326fb32a03f25
parent3e1141e2ce5667301a74ca2ef396d9bd5e995f7f
[media] v4l2-ioctl: set readbuffers to 2 in g_parm

If g_parm is handled automatically, then set readbuffers to 2, which is the
minimum number of buffers videobuf uses.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/v4l2-ioctl.c