mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
libcamera: use log topic
This commit is contained in:
parent
865635ef10
commit
783ae4d4e9
6 changed files with 38 additions and 24 deletions
|
|
@ -26,6 +26,17 @@
|
|||
|
||||
#include <linux/media.h>
|
||||
|
||||
#include <spa/support/log.h>
|
||||
|
||||
#undef SPA_LOG_TOPIC_DEFAULT
|
||||
#define SPA_LOG_TOPIC_DEFAULT libcamera_log_topic
|
||||
extern struct spa_log_topic *libcamera_log_topic;
|
||||
|
||||
static inline void libcamera_log_topic_init(struct spa_log *log)
|
||||
{
|
||||
spa_log_topic_init(log, libcamera_log_topic);
|
||||
}
|
||||
|
||||
#include "libcamera_wrapper.h"
|
||||
|
||||
struct spa_libcamera_device {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue