diff options
author | Javier Martin <javier.martin@vista-silicon.com> | 2012-02-07 07:14:42 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-03-08 09:41:56 -0300 |
commit | cdc9d6f191d81aa1b1b34db9d3a33f779f5c5ec7 (patch) | |
tree | 3223a3fa758c180fdd17e88b48c6c59506410d51 /fs/ubifs | |
parent | fb51cbdd3ec868b903bd706aa7db065c8c36bcd4 (diff) |
[media] media i.MX27 camera: improve discard buffer handling
The way discard buffer was previously handled lead
to possible races that made a buffer that was not
yet ready to be overwritten by new video data. This
is easily detected at 25fps just adding "#define DEBUG"
to enable the "memset" check and seeing how the image
is corrupted.
A new "discard" queue and two discard buffers have
been added to make them flow trough the pipeline
of queues and thus provide suitable event ordering.
Signed-off-by: Javier Martin <javier.martin@vista-silicon.com>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'fs/ubifs')
0 files changed, 0 insertions, 0 deletions