v4l2sink: change where buffers get dequeued
authorRob Clark <rob@ti.com>
Tue, 4 Aug 2009 07:22:29 +0000 (09:22 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 4 Aug 2009 07:22:29 +0000 (09:22 +0200)
commit99e2ac121d7252aa858a8e0b2db0872d06ca226c
tree65ea038f9dd9f81507a67d156e217327ab256896
parentf19cfbda96d098362cc2a2565197cef347878549
v4l2sink: change where buffers get dequeued

It seems to cause strange occasional high latencies (almost 200ms) when dequeuing buffers from _buffer_alloc().  It is simpler and seems to work much better to dqbuf from the same thread that is queuing the next buffer.
sys/v4l2/gstv4l2bufferpool.c
sys/v4l2/gstv4l2bufferpool.h
sys/v4l2/gstv4l2sink.c
sys/v4l2/v4l2src_calls.c