Changeset 2260


Ignore:
Timestamp:
Sep 4, 2008 7:37:30 AM (16 years ago)
Author:
bennylp
Message:

Ticke#609: Build/compilation error in Python module (undeclared dec_fmtp_mode/enc_fmtp_mode) (thanks Saul Ibarra for the report)

Location:
pjproject/trunk/pjsip-apps/src/python
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/python/_pjsua.c

    r2220 r2260  
    28482848    ret->info->pt = param.info.pt; 
    28492849    ret->setting->cng = param.setting.cng; 
    2850     ret->setting->dec_fmtp_mode = param.setting.dec_fmtp_mode; 
    2851     ret->setting->enc_fmtp_mode = param.setting.enc_fmtp_mode; 
     2850    //ret->setting->dec_fmtp_mode = param.setting.dec_fmtp_mode; 
     2851    //ret->setting->enc_fmtp_mode = param.setting.enc_fmtp_mode; 
    28522852    ret->setting->frm_per_pkt = param.setting.frm_per_pkt; 
    28532853    ret->setting->penh = param.setting.penh; 
     
    28892889        param.info.pt = obj->info->pt; 
    28902890        param.setting.cng = obj->setting->cng; 
    2891         param.setting.dec_fmtp_mode = obj->setting->dec_fmtp_mode; 
    2892         param.setting.enc_fmtp_mode = obj->setting->enc_fmtp_mode; 
     2891        //param.setting.dec_fmtp_mode = obj->setting->dec_fmtp_mode; 
     2892        //param.setting.enc_fmtp_mode = obj->setting->enc_fmtp_mode; 
    28932893        param.setting.frm_per_pkt = obj->setting->frm_per_pkt; 
    28942894        param.setting.penh = obj->setting->penh; 
  • pjproject/trunk/pjsip-apps/src/python/_pjsua.h

    r2163 r2260  
    29872987    unsigned    penh; 
    29882988    unsigned    plc; 
     2989#if 0 
    29892990    pj_uint8_t  enc_fmtp_mode; 
    29902991    pj_uint8_t  dec_fmtp_mode;  
     2992#endif 
    29912993 
    29922994} PyObj_pjmedia_codec_param_setting; 
     
    30243026        "Packet loss concealment" 
    30253027    }, 
     3028#if 0   // no longer valid with latest modification in codec 
    30263029    { 
    30273030        "enc_fmtp_mode", T_INT,  
     
    30343037        "Mode param in fmtp (def:0)" 
    30353038    }, 
     3039#endif 
    30363040     
    30373041    {NULL}  /* Sentinel */ 
Note: See TracChangeset for help on using the changeset viewer.