v4l2: Split flush in start/stop_streaming
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Wed, 14 May 2014 21:18:35 +0000 (17:18 -0400)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Thu, 15 May 2014 16:21:44 +0000 (12:21 -0400)
commita4b5811d22ba401fbcfc4d264034a9ca1d9aca67
treedcad0e2289e9f0be523e539f7e21935ed535c795
parentc1792de95e9a6b28891a53cd953941d30bebf09d
v4l2: Split flush in start/stop_streaming

This allow calling start streaming later for capture device. Currently it breaks
in dmabuf-import because downstream is holding a buffer that will only be
released after stream-start.

https://bugzilla.gnome.org/show_bug.cgi?id=730207
sys/v4l2/gstv4l2bufferpool.c
sys/v4l2/gstv4l2bufferpool.h
sys/v4l2/gstv4l2transform.c
sys/v4l2/gstv4l2videodec.c