mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
connection: handle refill_buffer() error in get_next()
This commit is contained in:
parent
4d3c194491
commit
663a3df9af
1 changed files with 2 additions and 1 deletions
|
|
@ -235,7 +235,8 @@ pinos_connection_get_next (PinosConnection *conn,
|
|||
|
||||
again:
|
||||
if (buf->update) {
|
||||
refill_buffer (conn, buf);
|
||||
if (!refill_buffer (conn, buf))
|
||||
return false;
|
||||
buf->update = false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue