From eb5ca31cfd8f7dbfde549a81455376b59ba121fe Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Wed, 10 Oct 2012 10:28:16 +0200 Subject: [PATCH] Fix bug 0000201: linphone crashes upon asking for video when low bandwidth detected. --- coreapi/linphonecore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coreapi/linphonecore.c b/coreapi/linphonecore.c index 2e7ff6372..2936ca0ba 100644 --- a/coreapi/linphonecore.c +++ b/coreapi/linphonecore.c @@ -2581,7 +2581,7 @@ int linphone_core_update_call(LinphoneCore *lc, LinphoneCall *call, const Linpho } call->params = *params; update_local_media_description(lc, call); - if ((call->ice_session != NULL) && !has_video && params->has_video) { + if ((call->ice_session != NULL) && !has_video && call->params.has_video) { /* Defer call update until the ICE candidates gathering process has finished. */ ms_message("Defer call update to gather ICE candidates"); linphone_call_init_video_stream(call);