Changeset 364:60d37828e057 in mediastreamer2


Ignore:
Timestamp:
Mar 24, 2009 11:43:14 PM (4 years ago)
Author:
smorlat <smorlat@…>
Branch:
default
Message:

fix crash when compiled with --disable-video

git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@367 3f6dc0c8-ddfe-455d-9043-3cd528dc4637

File:
1 edited

Legend:

Unmodified
Added
Removed
  • linphone/coreapi/linphonecore.c

    r363 r364  
    14441444                if (st->el_type==ELControlMic){ 
    14451445                        f=st->volsend; 
    1446                         if (speed==-1) speed=0.15; 
     1446                        if (speed==-1) speed=0.03; 
    14471447                        if (force==-1) force=10; 
    14481448                } 
     
    21602160                toggle_video_preview(lc,FALSE);/*restart the video local preview*/ 
    21612161        } 
    2162         if (lc->ready){ 
     2162        if (lc->ready && lc->video_conf.device){ 
    21632163                vd=ms_web_cam_get_string_id(lc->video_conf.device); 
    21642164                if (vd && strstr(vd,"Static picture")!=NULL){ 
Note: See TracChangeset for help on using the changeset viewer.