mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-09 13:30:06 -05:00
port: only warn if we're not cleaning up
This commit is contained in:
parent
cb14b41537
commit
209a729e2e
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
mix->port.direction, mix->port.port_id, flags,
|
||||||
buffers, n_buffers);
|
buffers, n_buffers);
|
||||||
if (res2 < 0) {
|
if (res2 < 0) {
|
||||||
if (res2 != -ENOTSUP) {
|
if (res2 != -ENOTSUP && n_buffers > 0) {
|
||||||
pw_log_warn(NAME" %p: mix use buffers failed: %d (%s)",
|
pw_log_warn(NAME" %p: mix use buffers failed: %d (%s)",
|
||||||
port, res2, spa_strerror(res2));
|
port, res2, spa_strerror(res2));
|
||||||
return res2;
|
return res2;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue