From e33dcf09cd97d0f090d96a815ffe904cd2effa93 Mon Sep 17 00:00:00 2001 From: Simon Morlat Date: Thu, 25 Nov 2010 12:11:39 +0100 Subject: [PATCH] fix compil error on android --- coreapi/callbacks.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/coreapi/callbacks.c b/coreapi/callbacks.c index 480b21655..a890e1f00 100644 --- a/coreapi/callbacks.c +++ b/coreapi/callbacks.c @@ -52,8 +52,10 @@ void linphone_core_update_streams(LinphoneCore *lc, LinphoneCall *call, SalMedia linphone_call_enable_camera (call,linphone_call_camera_enabled (call)); if (call->audiostream) linphone_core_mute_mic (lc, linphone_core_is_mic_muted(lc)); +#ifdef VIDEO_ENABLED if (call->videostream && call->camera_active) video_stream_change_camera(call->videostream,lc->video_conf.device ); +#endif } ms_message("No need to restart streams, SDP is unchanged."); return;