mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-21 13:08:08 +00:00
fix crash when compiled with --disable-video
git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@367 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
This commit is contained in:
parent
fe0142438a
commit
b62a0c970a
1 changed files with 2 additions and 2 deletions
|
|
@ -1443,7 +1443,7 @@ static void post_configure_audio_streams(LinphoneCore *lc){
|
|||
MSFilter *f=NULL;
|
||||
if (st->el_type==ELControlMic){
|
||||
f=st->volsend;
|
||||
if (speed==-1) speed=0.15;
|
||||
if (speed==-1) speed=0.03;
|
||||
if (force==-1) force=10;
|
||||
}
|
||||
else if (st->el_type==ELControlSpeaker){
|
||||
|
|
@ -2159,7 +2159,7 @@ int linphone_core_set_video_device(LinphoneCore *lc, const char *id){
|
|||
if (olddev!=NULL && olddev!=lc->video_conf.device){
|
||||
toggle_video_preview(lc,FALSE);/*restart the video local preview*/
|
||||
}
|
||||
if (lc->ready){
|
||||
if (lc->ready && lc->video_conf.device){
|
||||
vd=ms_web_cam_get_string_id(lc->video_conf.device);
|
||||
if (vd && strstr(vd,"Static picture")!=NULL){
|
||||
vd=NULL;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue