link: fall back to local io

This commit is contained in:
Wim Taymans 2018-03-05 12:44:06 +01:00
parent b9880dbd5f
commit 1aa960ad54

View file

@ -515,6 +515,8 @@ static int select_io(struct pw_link *this)
io = this->rt.in_port.port.io;
if (io == NULL)
io = this->rt.out_port.port.io;
if (io == NULL)
io = &this->io;
if (io == NULL)
return -EIO;