Commit b97cb51e authored by Simon Morlat's avatar Simon Morlat
Browse files

repair liblinphone again

parent 70e66a5b
...@@ -105,7 +105,7 @@ void linphone_call_params_enable_low_bandwidth(LinphoneCallParams *cp, bool_t en ...@@ -105,7 +105,7 @@ void linphone_call_params_enable_low_bandwidth(LinphoneCallParams *cp, bool_t en
void linphone_call_params_enable_video(LinphoneCallParams *cp, bool_t enabled){ void linphone_call_params_enable_video(LinphoneCallParams *cp, bool_t enabled){
cp->has_video=enabled; cp->has_video=enabled;
if (cp->video_dir==LinphoneMediaDirectionInactive) if (enabled && cp->video_dir==LinphoneMediaDirectionInactive)
cp->video_dir=LinphoneMediaDirectionSendRecv; cp->video_dir=LinphoneMediaDirectionSendRecv;
} }
......
...@@ -3587,7 +3587,7 @@ int _linphone_core_accept_call_update(LinphoneCore *lc, LinphoneCall *call, cons ...@@ -3587,7 +3587,7 @@ int _linphone_core_accept_call_update(LinphoneCore *lc, LinphoneCall *call, cons
return 0; return 0;
} }
if (params==NULL){ if (params==NULL){
call->params->has_video=lc->video_policy.automatically_accept || call->current_params->has_video; linphone_call_params_enable_video(call->params, lc->video_policy.automatically_accept || call->current_params->has_video);
}else }else
linphone_call_set_new_params(call,params); linphone_call_set_new_params(call,params);
......
mediastreamer2 @ ac4fc4a4
Subproject commit a92d909993d0f4fc3e8656e4f5ff4f51a4cfe8ca Subproject commit ac4fc4a447e73e50a044c2c9113ea00f72dd441a
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment