pipewire/spa/plugins/libcamera
Javier Martinez Canillas 310e6009ca
libcamera: fix a segfault caused by queueing no longer valid requests
The requests_ vector contains the requests created for a camera on start()
but the vector elements are not removed on camera stop(). This leads to a
segfault, when these requests that are no longer valid are queued again.

Also move the streamName_ map clear to LibCamera::stop() where it should
be, since its elements are added in the LibCamera::start() function.
2021-09-21 14:49:08 +02:00
..
libcamera-client.c spa: save the old change_mask and restore when emitting full 2021-05-27 15:21:44 +02:00
libcamera-device.c treewide: replace strcmp() == 0 with spa_streq() 2021-05-18 22:10:27 +10:00
libcamera-source.c spa: save the old change_mask and restore when emitting full 2021-05-27 15:21:44 +02:00
libcamera-utils.c libcamera: disconnect camera in spa_libcamera_stream_off() 2021-09-21 14:49:08 +02:00
libcamera.c Integrating libcamera 2020-06-04 10:36:39 +02:00
libcamera.h Integrating libcamera 2020-06-04 10:36:39 +02:00
libcamera_wrapper.cpp libcamera: fix a segfault caused by queueing no longer valid requests 2021-09-21 14:49:08 +02:00
libcamera_wrapper.h libcamera: add a libcamera_set_config() helper function to the wrapper 2021-09-21 14:49:08 +02:00
meson.build spa: fix the indentation in the various meson.build files 2021-09-20 07:29:03 +00:00