v4l2sink: handle GST_EVENT_LIVE_FLUSH
authorAlessandro Decina <alessandro.decina@collabora.co.uk>
Mon, 9 May 2011 08:27:44 +0000 (10:27 +0200)
committerLuciana Fujii Pontello <luciana.fujii@collabora.co.uk>
Mon, 27 Jun 2011 03:43:55 +0000 (00:43 -0300)
commitecedbae33c05606a91652cb3e50553bf7e962aa2
tree2ba4e75d41970eaeed4250fcf59e61fb64f4c257
parent8d8c6ad29ee7c1aa55dbc13c07f8c3c4d89b138b
v4l2sink: handle GST_EVENT_LIVE_FLUSH

Unblock buffer_alloc when GST_EVENT_LIVE_FLUSH is received. Fixes deadlocks with
live sources allocating from v4l2sink's pool.
sys/v4l2/gstv4l2bufferpool.c
sys/v4l2/gstv4l2bufferpool.h
sys/v4l2/gstv4l2sink.c