From 6cc4570ecdae05605ce520f947eb39410e968e4f Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Fri, 23 Oct 2015 14:56:06 +0200 Subject: [PATCH] Really fix has_video in call params. --- coreapi/linphonecall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coreapi/linphonecall.c b/coreapi/linphonecall.c index ff61b4048..f9ec3ecf8 100644 --- a/coreapi/linphonecall.c +++ b/coreapi/linphonecall.c @@ -1440,7 +1440,7 @@ void linphone_call_fix_call_parameters(LinphoneCall *call, SalMediaDescription * if (rcp->has_video && call->core->video_policy.automatically_accept && linphone_core_video_enabled(call->core) && !call->params->has_video){ ms_message("Call [%p]: re-enabling video in our call params because the remote wants it and the policy allows to automatically accept.", call); - call->params->has_video = TRUE; + linphone_call_params_enable_video(call->params, TRUE); } if (rcp->realtimetext_enabled && !call->params->realtimetext_enabled) {