mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
impl-port: only log changes
This commit is contained in:
parent
632f532036
commit
1837654a4b
1 changed files with 2 additions and 2 deletions
|
|
@ -1675,12 +1675,12 @@ int pw_impl_port_recalc_tag(struct pw_impl_port *port)
|
|||
pw_log_info("port %d: %p %s %s tag %p",
|
||||
port->info.id, port, changed ? "set" : "keep",
|
||||
pw_direction_as_string(direction), param);
|
||||
if (param)
|
||||
pw_log_pod(SPA_LOG_LEVEL_INFO, param);
|
||||
|
||||
if (changed) {
|
||||
free(old);
|
||||
port->tag[direction] = param ? spa_pod_copy(param) : NULL;
|
||||
if (param)
|
||||
pw_log_pod(SPA_LOG_LEVEL_INFO, param);
|
||||
}
|
||||
spa_pod_dynamic_builder_clean(&b);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue