diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-01-18 07:21:25 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-01-20 13:35:55 +0200 |
commit | a39b91d44edfc737ddb26003f663ba26ee14e785 (patch) | |
tree | eca8ffd2b81316be254a99317e4e6e92769a23fc /src/android/camera_device.cpp | |
parent | 632e0fc09f4e7f32307c101ef9ee970669e1ccf2 (diff) |
test: buffer_import: Propagate status code from buffer allocation
The BufferSource::allocate() return value isn't propagated correctly,
resulting in a test failure when the test should be skipped due to a
missing vivid device. Fix it.
While at it, return valid status codes from BufferSource::allocate() in
all error cases, with proper diagnostic messages.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'src/android/camera_device.cpp')
0 files changed, 0 insertions, 0 deletions