mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
client-node: small cleanups
This commit is contained in:
parent
220d934842
commit
bf2a6bb1d7
2 changed files with 8 additions and 2 deletions
|
|
@ -831,8 +831,12 @@ static void client_node_initialized(void *data)
|
|||
if ((res = spa_node_port_enum_params(impl->cnode,
|
||||
impl->direction, 0,
|
||||
t->param.idEnumFormat, &state,
|
||||
NULL, &format, &b)) <= 0)
|
||||
NULL, &format, &b)) <= 0) {
|
||||
pw_log_warn("client-stream %p: no format given", &impl->this);
|
||||
impl->adapter = impl->cnode;
|
||||
impl->use_converter = false;
|
||||
return;
|
||||
}
|
||||
|
||||
spa_pod_object_parse(format,
|
||||
"I", &media_type,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue