mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-20 08:56:56 -05:00
pulse-server: pending-sample: only start operation if not replied already
This commit is contained in:
parent
c25b6c973e
commit
dd5f0e6bea
1 changed files with 3 additions and 1 deletions
|
|
@ -61,6 +61,8 @@ static void sample_play_ready(void *data, uint32_t id)
|
||||||
{
|
{
|
||||||
struct pending_sample *ps = data;
|
struct pending_sample *ps = data;
|
||||||
struct client *client = ps->client;
|
struct client *client = ps->client;
|
||||||
|
|
||||||
|
if (!ps->replied)
|
||||||
operation_new_cb(client, ps->tag, sample_play_ready_reply, ps);
|
operation_new_cb(client, ps->tag, sample_play_ready_reply, ps);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue