mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05: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:
|
again:
|
||||||
if (buf->update) {
|
if (buf->update) {
|
||||||
refill_buffer (conn, buf);
|
if (!refill_buffer (conn, buf))
|
||||||
|
return false;
|
||||||
buf->update = false;
|
buf->update = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue