libcamera/src
Umang Jain f2df5abe5d libcamera: camera: Ensure deletion via deleteLater()
Object::deleteLater() ensures that the deletion of the Object
takes place in a thread it is bound to. Deleting the Object
in a different thread is a violation according to the libcamera
threading model.

On hot-unplug of a currently streaming camera, the last reference
of Camera when dropped from the application thread (for e.g. QCam's
thread), the destructor is then called from this thread. This is not
allowed by the libcamera threading model. Camera is meant to be deleted
in the thread it is bound to - in this case the CameraManager's thread.

Signed-off-by: Umang Jain <email@uajain.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2020-07-31 23:33:38 +03:00
..
android android: camera_device: Add ANDROID_REQUEST_MAX_NUM_INPUT_STREAMS 2020-07-24 19:03:52 +02:00
cam cam: Add optional argument to --capture to specify how many frames to capture 2020-07-27 17:31:13 +02:00
gstreamer gst: Replace explicit DRM FourCCs with libcamera formats 2020-06-18 13:26:43 +03:00
ipa libcamera: raspberrypi: Add ColourCorrectionMatrix control 2020-07-25 00:51:38 +03:00
libcamera libcamera: camera: Ensure deletion via deleteLater() 2020-07-31 23:33:38 +03:00
qcam qcam: Fix camera reference leak on hot-unplug 2020-07-27 22:30:07 +03:00
v4l2 v4l2: v4l2_camera_proxy: Use stream config in tryFormat 2020-07-10 16:11:50 +09:00
meson.build licenses: License all meson files under CC0-1.0 2020-05-13 16:46:24 +03:00