From: Ghislain MARY Date: Mon, 8 Oct 2012 10:39:15 +0000 (+0200) Subject: Deactivate video when the remote accepts the call but without video. X-Git-Url: http://sjero.net/git/?p=linphone;a=commitdiff_plain;h=eaf16b1784450d7e1c12624ef23348c2bf799c6b Deactivate video when the remote accepts the call but without video. --- diff --git a/coreapi/callbacks.c b/coreapi/callbacks.c index 52c6d407..7c7d4f00 100644 --- a/coreapi/callbacks.c +++ b/coreapi/callbacks.c @@ -266,6 +266,7 @@ static void call_accepted(SalOp *op){ } md=sal_call_get_final_media_description(op); + call->params.has_video &= linphone_core_media_description_contains_video_stream(md); if (call->state==LinphoneCallOutgoingProgress || call->state==LinphoneCallOutgoingRinging ||