Working on SoftISP
Find a file
Laurent Pinchart 67dce611e5 libcamera: mediadevice: Fix graph parsing error handling
Most errors recorded during graph parsing are logged but not propagated
to the caller. Fix this and delete objects that are created but not
successfully added to the graph to avoid memory leaks. As the error code
returned from the addObject() and populate*() functions doesn't matter
much, turn them into bool functions.

Additionally, add a way to query whether the media graph was valid, and
clear objects before populating the graph to avoid leaking them.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
2019-01-02 02:35:25 +02:00
Documentation Documentation: Remove | on the left side of diagrams 2018-12-14 15:34:00 +02:00
include libcamera: camera_manager: add CameraManager class 2018-12-31 00:58:30 +01:00
licenses licenses: Add licenses subdirectory 2018-11-28 11:10:11 +00:00
src libcamera: mediadevice: Fix graph parsing error handling 2019-01-02 02:35:25 +02:00
test test: libtest: Return all non-zero init values 2019-01-01 18:24:22 +02:00
utils utils: checkstyle: add keep-one-line-blocks 2018-12-21 15:18:32 +00:00
.gitignore git: Add .gitignore file 2018-12-14 13:23:07 +00:00
meson.build meson: Shorten project description 2019-01-01 18:24:22 +02:00
README.md README: Update build instructions 2018-11-26 15:52:21 +00:00

libcamera: A complex camera support library for Linux, Android, and ChromeOS

To build and install:

  meson build
  cd build
  ninja
  ninja install