diff options
| author | Hans Verkuil <[email protected]> | 2014-02-28 12:49:18 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2014-03-11 06:56:42 -0300 |
| commit | fb64dca805f091b52dbe8d6504390f63d961cbbd (patch) | |
| tree | b59ed4fbf27469d229bd97159e18d9204d32cfb5 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | b3379c6201bb3555298cdbf0aa004af260f2a6a4 (diff) | |
[media] vb2: properly clean up PREPARED and QUEUED buffers
If __reqbufs was called then existing buffers are freed. However, if that
happens without ever having started STREAMON, but if buffers have been queued,
then the buf_finish op is never called.
Add a call to __vb2_queue_cancel in __reqbufs so that these buffers are
cleaned up there as well.
Signed-off-by: Hans Verkuil <[email protected]>
Acked-by: Sakari Ailus <[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