mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-16 08:56:45 -05:00
bluez5: improve param enumeration
Return -EIO when we can't enumerate the params Don't check for end-of-params in a2dp-sink, we do that in the codec.
This commit is contained in:
parent
e8dcd7f5f9
commit
90bdab8414
4 changed files with 3 additions and 5 deletions
|
|
@ -894,8 +894,6 @@ impl_node_port_enum_params(void *object, int seq,
|
|||
|
||||
switch (id) {
|
||||
case SPA_PARAM_EnumFormat:
|
||||
if (result.index > 0)
|
||||
return 0;
|
||||
if (this->codec == NULL)
|
||||
return -EIO;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue