]> sjero.net Git - linphone/blobdiff - coreapi/linphonecore.c
Merge branch 'master' of git.sv.gnu.org:/srv/git/linphone
[linphone] / coreapi / linphonecore.c
index 88c1ad73afc61db9a4a915b4b959ec460ac87090..5e27defb0f5059f4334fadae0e64ba22fdfc0dff 100644 (file)
@@ -2186,12 +2186,14 @@ int linphone_core_update_call(LinphoneCore *lc, LinphoneCall *call, const Linpho
                err=sal_call_update(call->op);
 #ifdef VIDEO_ENABLED
        }else{
+#ifdef VIDEO_ENABLED
                if (call->videostream!=NULL){
                        video_stream_set_sent_video_size(call->videostream,linphone_core_get_preferred_video_size(lc));
                        video_stream_update_video_params (call->videostream);
                }
 #endif
        }
+
        return err;
 }