aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorFlorian Echtler <[email protected]>2015-05-25 09:04:16 -0300
committerMauro Carvalho Chehab <[email protected]>2015-05-30 11:45:00 -0300
commit2b7eea83a4e694018ddc155078bc36bf702ea466 (patch)
tree9d37051e1546a50902d9f22312b0ca2e35d00be8 /tools/perf/scripts/python
parent0cfdfcc1db13c7b6b6f930ac0528d5b010f45220 (diff)
[media] return BUF_STATE_ERROR if streaming stopped during acquisition
When stop_streaming is called while a frame is currently being retrieved, the buffer being filled will still be returned with BUF_STATE_DONE. By resetting the sequence number and checking before returning the buffer, it can now correctly be returned with BUF_STATE_ERROR. Signed-off-by: Martin Kaltenbrunner <[email protected]> Signed-off-by: Florian Echtler <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions