diff options
author | Naushir Patuck <naush@raspberrypi.com> | 2022-02-07 15:12:12 +0000 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-02-10 09:45:33 +0200 |
commit | 73e5102ad4ce3e8984115c5e1f524f34fa645ed5 (patch) | |
tree | 0f00a317087c8cee9f9bf03960518261173c64da /src/v4l2/v4l2_compat.cpp | |
parent | 110c26b317c783a48c97badd93c006f6c2ae834b (diff) |
pipeline: raspberrypi: Allow Stream::returnBuffer() to handle internal buffers
If Stream::returnBuffer() gets passed an internally allocated buffer, it now
simply re-queues it back to the device. With this change, the pipeline handler
code can be simplified slightly as it does not need multiple code paths for
internally allocated and non-internally allocated buffers.
Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/v4l2/v4l2_compat.cpp')
0 files changed, 0 insertions, 0 deletions