mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
v4l2: use log topic
This commit is contained in:
parent
a95937dfdb
commit
865635ef10
4 changed files with 65 additions and 51 deletions
|
|
@ -24,6 +24,17 @@
|
|||
|
||||
#include <errno.h>
|
||||
|
||||
#include <spa/support/log.h>
|
||||
|
||||
#undef SPA_LOG_TOPIC_DEFAULT
|
||||
#define SPA_LOG_TOPIC_DEFAULT v4l2_log_topic
|
||||
extern struct spa_log_topic *v4l2_log_topic;
|
||||
|
||||
static inline void v4l2_log_topic_init(struct spa_log *log)
|
||||
{
|
||||
spa_log_topic_init(log, v4l2_log_topic);
|
||||
}
|
||||
|
||||
struct spa_v4l2_device {
|
||||
struct spa_log *log;
|
||||
int fd;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue