v4l2allocator: Guaranty queued state integrety
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Wed, 16 Apr 2014 19:51:03 +0000 (15:51 -0400)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Thu, 8 May 2014 19:56:36 +0000 (15:56 -0400)
commit7b00d7ac4603c802b3e575644bd83bb93338b7d9
tree00ef3fb8f43e827335a949d836c0f5eefdca971d
parent783417ee9f095e5b7e3e914da1579baf817616c7
v4l2allocator: Guaranty queued state integrety

Because of the buf in videobuf2, dqbuf may leave the DONE flag being,
which would implied that the buffer is queued. As this has been broken
for 4 years, simply guaranty the state flags integrity when doing
qbuf/dqbuf.

See https://patchwork.linuxtv.org/patch/23641/
sys/v4l2/gstv4l2allocator.c