splitter: fix compilation

This commit is contained in:
Wim Taymans 2018-11-02 17:51:30 +01:00
parent 7b6df9e127
commit 9088b2f0d9

View file

@ -599,7 +599,7 @@ static int port_set_format(struct spa_node *node,
if (format == NULL) { if (format == NULL) {
if (port->have_format) { if (port->have_format) {
if (direction == SPA_DIRECTION_INPUT) if (direction == SPA_DIRECTION_INPUT)
port->have_format = this->profile; port->have_format = this->have_profile;
else else
port->have_format = false; port->have_format = false;
clear_buffers(this, port); clear_buffers(this, port);