aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorRicardo Ribalda <[email protected]>2014-01-08 05:01:33 -0300
committerMauro Carvalho Chehab <[email protected]>2014-02-04 06:30:21 -0200
commit548df7831adc34eca3ccefa29f768cef84315d6e (patch)
treeb08569613739558ead89bffdb095aeef41687a2a /tools/perf/util/trace-event-scripting.c
parentcca36e2eecec2b8fc869a50ffd3bd0adeed92b8b (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]> Reviewed-by: Marek Szyprowski <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions