[media] V4L: videobuf2: update buffer state on VIDIOC_QBUF
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Wed, 28 Sep 2011 10:23:27 +0000 (07:23 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 3 Nov 2011 20:28:26 +0000 (18:28 -0200)
commit21db3e07e1c6302556ae3215ddf0539f5d763b62
tree9829667577d14bac2a99c8dce54b6986281f4eda
parent2150158b31a3290cc883cf6dea4f5d6803b6b811
[media] V4L: videobuf2: update buffer state on VIDIOC_QBUF

V4L2 specification states, that the videobuffer state flags have to be
updated on VIDIOC_QBUF ioctl(). Videobuf2 currently doesn't do that,
which is fixed by this patch.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/videobuf2-core.c