diff options
author | Ricardo Ribalda Delgado | 2014-01-08 05:01:33 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab | 2014-03-11 06:56:36 -0300 |
commit | 249f5a58bc844506fef2e9d5d55a88fbc708c5fa (patch) | |
tree | a645b374920afa3fdeb8fc9a15fbfb9a94433a84 /include/asm-generic/bug.h | |
parent | c897df0e2dbc81bcc09c11425658d69830825364 (diff) |
[media] vb2: Check if there are buffers before streamon
This patch adds a test preventing streamon() if there is no buffer
ready.
Without this patch, a user could call streamon() before
preparing any buffer. This leads to a situation where if he calls
close() before calling streamoff() the device is kept streaming.
Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'include/asm-generic/bug.h')
0 files changed, 0 insertions, 0 deletions