diff options
author | Wim Taymans <wtaymans@redhat.com> | 2020-08-05 17:56:21 +0200 |
---|---|---|
committer | Wim Taymans <wtaymans@redhat.com> | 2020-08-05 17:56:21 +0200 |
commit | 209a729e2e36e08dc4893226a23aefe5d2ad1913 (patch) | |
tree | 65622b8dba3426d59748b617b0bdff9dfa2bf89d | |
parent | cb14b41537b27bf96d32890e60b54ac7ede13c5f (diff) |
port: only warn if we're not cleaning up
-rw-r--r-- | src/pipewire/impl-port.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pipewire/impl-port.c b/src/pipewire/impl-port.c index aad1a2ee..a2e27b25 100644 --- a/src/pipewire/impl-port.c +++ b/src/pipewire/impl-port.c @@ -1287,7 +1287,7 @@ int pw_impl_port_use_buffers(struct pw_impl_port *port, struct pw_impl_port_mix mix->port.direction, mix->port.port_id, flags, buffers, n_buffers); if (res2 < 0) { - if (res2 != -ENOTSUP) { + if (res2 != -ENOTSUP && n_buffers > 0) { pw_log_warn(NAME" %p: mix use buffers failed: %d (%s)", port, res2, spa_strerror(res2)); return res2; |