diff options
| author | Ricardo Ribalda Delgado <[email protected]> | 2014-01-08 05:01:33 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2014-03-11 06:56:36 -0300 |
| commit | 249f5a58bc844506fef2e9d5d55a88fbc708c5fa (patch) | |
| tree | a645b374920afa3fdeb8fc9a15fbfb9a94433a84 /tools/perf/scripts/python/event_analyzing_sample.py | |
| 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 <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions