libcamera/src
Kieran Bingham 7adf3a0698 libcamera: pipeline: simple: Only connect created converters
If converter_->open() fails, the code deletes the converter_ but then
happily goes on, and at the very next lines will use converter_ to
connect the bufferReady signal.

Ensure the converter is only connected when successfully opened by
extending the conditional and connecting in an else scope instead.

Reported-by: Tomi Valkeinen <tomi.valkeinen@iki.fi>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2020-10-27 14:48:46 +00:00
..
android android: camera_device: Handle LENS_SHADING_MAP_MODES 2020-10-26 17:51:56 +01:00
cam libcamera: Declare empty virtual destructors as defaulted 2020-10-23 22:53:13 +03:00
gstreamer gstreamer: Omit extra semicolons 2020-10-20 13:15:47 +03:00
ipa libcamera: pipeline: raspberrypi: Implementation of digital zoom 2020-10-27 14:09:47 +02:00
libcamera libcamera: pipeline: simple: Only connect created converters 2020-10-27 14:48:46 +00:00
qcam libcamera: Declare empty virtual destructors as defaulted 2020-10-23 22:53:13 +03:00
v4l2 v4l2: camera: Prevent shadowing within V4L2Camera::Buffer 2020-10-21 17:18:48 +01:00
meson.build libcamera: ipa: Move key generation to utils 2020-09-24 10:56:22 +01:00