Remove redundant fields from PortInfo

This commit is contained in:
Wim Taymans 2017-05-22 18:02:31 +02:00
parent d1a6d6e03f
commit f12a5ffc80
5 changed files with 0 additions and 15 deletions

View file

@ -310,8 +310,6 @@ spa_alsa_sink_node_port_set_format (SpaNode *node,
}
if (this->have_format) {
this->info.direction = direction;
this->info.port_id = port_id;
this->info.flags = SPA_PORT_INFO_FLAG_CAN_USE_BUFFERS |
SPA_PORT_INFO_FLAG_LIVE;
this->info.rate = this->rate;

View file

@ -356,8 +356,6 @@ spa_alsa_source_node_port_set_format (SpaNode *node,
}
if (this->have_format) {
this->info.direction = direction;
this->info.port_id = port_id;
this->info.flags = SPA_PORT_INFO_FLAG_CAN_USE_BUFFERS |
SPA_PORT_INFO_FLAG_LIVE;
this->info.rate = this->rate;