diff options
author | Hirokazu Honda <hiroh@chromium.org> | 2021-04-03 22:18:28 +0900 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-04-04 01:38:21 +0300 |
commit | d13462f3d0f31cd24f11f44c1efe09457c691aba (patch) | |
tree | 3676afb934c3a6aab3a6f8a0a5f8a11c6f2067a9 /src/gstreamer/gstlibcameraallocator.cpp | |
parent | 7d7879833812635f3d34a8b41b93202b4faf4f9c (diff) |
android: CameraDevice: Deny if the streams is empty
This checks if the number of streams is zero on configuration
and then returns -EINVAL.
Signed-off-by: Hirokazu Honda <hiroh@chromium.org>
Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/gstreamer/gstlibcameraallocator.cpp')
0 files changed, 0 insertions, 0 deletions