Ignore:
Timestamp:
Jan 25, 2013 6:31:05 AM (8 years ago)
Author:
ming
Message:

Re #1568: Fixed is_media_changed() detection when pjsua_media_cfg.no_vad is set to PJ_TRUE and fixed the string duplication of encoding name
Thanks to Hideo and Fredrik for the reports.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/1.x/pjmedia/src/pjmedia/session.c

    r4329 r4334  
    672672              si->stream_cnt * sizeof(pjmedia_stream_info)); 
    673673 
    674     /* Clone codec param */ 
     674    /* Clone codec param and format info */ 
    675675    for (i=0; i<(int)si->stream_cnt; ++i) { 
     676        pj_strdup(pool, &session->stream_info[i].fmt.encoding_name, 
     677                  &si->stream_info[i].fmt.encoding_name); 
    676678        if (session->stream_info[i].param) { 
    677679            session->stream_info[i].param = 
Note: See TracChangeset for help on using the changeset viewer.