mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-14 06:59:57 -05:00
use dictionary for extra port info
This commit is contained in:
parent
d79489b29b
commit
becae3e7fa
9 changed files with 14 additions and 13 deletions
|
|
@ -341,7 +341,7 @@ spa_alsa_sink_node_port_set_format (SpaNode *node,
|
|||
this->param_buffers.min_buffers = 1;
|
||||
this->param_buffers.max_buffers = 8;
|
||||
this->param_buffers.align = 16;
|
||||
this->info.features = NULL;
|
||||
this->info.extra = NULL;
|
||||
|
||||
this->have_format = true;
|
||||
update_state (this, SPA_NODE_STATE_READY);
|
||||
|
|
|
|||
|
|
@ -375,7 +375,7 @@ spa_alsa_source_node_port_set_format (SpaNode *node,
|
|||
this->param_meta.param.type = SPA_ALLOC_PARAM_TYPE_META_ENABLE;
|
||||
this->param_meta.param.size = sizeof (this->param_meta);
|
||||
this->param_meta.type = SPA_META_TYPE_HEADER;
|
||||
this->info.features = NULL;
|
||||
this->info.extra = NULL;
|
||||
|
||||
this->have_format = true;
|
||||
|
||||
|
|
|
|||
|
|
@ -583,7 +583,7 @@ spa_audiotestsrc_node_port_set_format (SpaNode *node,
|
|||
this->param_meta.param.type = SPA_ALLOC_PARAM_TYPE_META_ENABLE;
|
||||
this->param_meta.param.size = sizeof (this->param_meta);
|
||||
this->param_meta.type = SPA_META_TYPE_HEADER;
|
||||
this->info.features = NULL;
|
||||
this->info.extra = NULL;
|
||||
update_state (this, SPA_NODE_STATE_READY);
|
||||
}
|
||||
else
|
||||
|
|
|
|||
|
|
@ -816,7 +816,7 @@ spa_v4l2_set_format (SpaV4l2Source *this, V4l2Format *f, bool try_only)
|
|||
state->param_meta.param.size = sizeof (state->param_meta);
|
||||
state->param_meta.type = SPA_META_TYPE_HEADER;
|
||||
|
||||
state->info.features = NULL;
|
||||
state->info.extra = NULL;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -532,7 +532,7 @@ spa_videotestsrc_node_port_set_format (SpaNode *node,
|
|||
this->param_meta.param.type = SPA_ALLOC_PARAM_TYPE_META_ENABLE;
|
||||
this->param_meta.param.size = sizeof (this->param_meta);
|
||||
this->param_meta.type = SPA_META_TYPE_HEADER;
|
||||
this->info.features = NULL;
|
||||
this->info.extra = NULL;
|
||||
update_state (this, SPA_NODE_STATE_READY);
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue