Ignore:
Timestamp:
Dec 27, 2011 12:47:52 PM (9 years ago)
Author:
bennylp
Message:

More re #1419: changed field names from video_count to vid_cnt and audio_cnt to aud_cnt for better consistency

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua-lib/pjsua_vid.c

    r3912 r3925  
    16311631        goto on_error; 
    16321632 
    1633     call->opt.video_cnt++; 
     1633    call->opt.vid_cnt++; 
    16341634 
    16351635    return PJ_SUCCESS; 
     
    17011701            unsigned i, vid_cnt = 0; 
    17021702 
    1703             /* Check if video_cnt in call option needs to be increased */ 
     1703            /* Check if vid_cnt in call option needs to be increased */ 
    17041704            for (i = 0; i < call->med_cnt; ++i) { 
    17051705                if (call->media[i].type == PJMEDIA_TYPE_VIDEO && 
     
    17091709                } 
    17101710            } 
    1711             if (call->opt.video_cnt <= vid_cnt) 
    1712                 call->opt.video_cnt++; 
     1711            if (call->opt.vid_cnt <= vid_cnt) 
     1712                call->opt.vid_cnt++; 
    17131713        } 
    17141714 
     
    17901790        pjmedia_sdp_media_deactivate(pool, sdp->media[med_idx]); 
    17911791 
    1792         call->opt.video_cnt--; 
     1792        call->opt.vid_cnt--; 
    17931793    } 
    17941794 
Note: See TracChangeset for help on using the changeset viewer.