summaryrefslogtreecommitdiff
path: root/src/call.c
diff options
context:
space:
mode:
authorAlfred E. Heggestad <alfred.heggestad@gmail.com>2017-04-29 15:25:59 +0200
committerAlfred E. Heggestad <alfred.heggestad@gmail.com>2017-04-29 15:25:59 +0200
commit382886e1afdd7ecc7013370cf3050a7eecff3fd6 (patch)
tree41f038283714f2f8e69c879584371730f7ee1cbb /src/call.c
parentb730725c55ce2502e3a8b6ab88402911075fb5f0 (diff)
audio: add offerer flag to audio_alloc
Diffstat (limited to 'src/call.c')
-rw-r--r--src/call.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/call.c b/src/call.c
index c057dd4..18b9b3a 100644
--- a/src/call.c
+++ b/src/call.c
@@ -589,7 +589,7 @@ int call_alloc(struct call **callp, const struct config *cfg, struct list *lst,
err = audio_alloc(&call->audio, cfg, call,
call->sdp, ++label,
acc->mnat, call->mnats, acc->menc, call->mencs,
- acc->ptime, account_aucodecl(call->acc),
+ acc->ptime, account_aucodecl(call->acc), !got_offer,
audio_event_handler, audio_error_handler, call);
if (err)
goto out;