mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
spa: use the spa_log_logv macro to chain the log calls
No need to use the interface call directly here, let's just use the macro.
This commit is contained in:
parent
cbcf62f341
commit
9eda834417
1 changed files with 2 additions and 3 deletions
|
|
@ -69,8 +69,7 @@ impl_log_logv(void *object,
|
||||||
if (impl->chain_log != NULL) {
|
if (impl->chain_log != NULL) {
|
||||||
va_list args_copy;
|
va_list args_copy;
|
||||||
va_copy(args_copy, args);
|
va_copy(args_copy, args);
|
||||||
spa_interface_call(&impl->chain_log->iface,
|
spa_log_logv(impl->chain_log,
|
||||||
struct spa_log_methods, logv, 0,
|
|
||||||
level, file, line, func, fmt, args_copy);
|
level, file, line, func, fmt, args_copy);
|
||||||
va_end(args_copy);
|
va_end(args_copy);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue