mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
a2dp: also acquire when the state is pending
This commit is contained in:
parent
e009fead09
commit
4ae771ccc1
1 changed files with 1 additions and 1 deletions
|
|
@ -484,7 +484,7 @@ static int do_start(struct impl *this)
|
|||
|
||||
spa_log_debug(this->log, "a2dp-source %p: start", this);
|
||||
|
||||
if (this->transport->state == SPA_BT_TRANSPORT_STATE_ACTIVE)
|
||||
if (this->transport->state >= SPA_BT_TRANSPORT_STATE_PENDING)
|
||||
res = transport_start(this);
|
||||
|
||||
this->started = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue