pipewire/spa/plugins/libcamera
Javier Martinez Canillas 439dc8eb2a
libcamera: disconnect camera in spa_libcamera_stream_off()
The camera is connected in the spa_libcamera_stream_on() function but the
disconnect happen in LibCamera::stop(). It makes more sense to have this
two operations separated as it's done for the connection and start, since
the camera then can be stopped/started without needing to do a reconnect.

Move the camera disconnect to spa_libcamera_stream_off() for the reason
mentioned above but also to make the code more consistent and symmetric.
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: disconnect camera in spa_libcamera_stream_off() 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