Changeset 3154 for pjproject/trunk
- Timestamp:
- Apr 30, 2010 10:22:05 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia/jbuf.c
r3111 r3154 649 649 if (++jb->jb_init_cycle_cnt >= INIT_CYCLE && oper == JB_OP_GET) { 650 650 jb->jb_status = JB_STATUS_PROCESSING; 651 /* To make sure the burst calculation will be done right after 652 * this, adjust burst level if it exceeds max burst level. 653 */ 654 jb->jb_level = PJ_MIN(jb->jb_level, jb->jb_max_burst); 651 655 } else { 652 656 jb->jb_level = 0; … … 661 665 * calculation. 662 666 */ 663 if (oper == JB_OP_GET && jb->jb_level < jb->jb_max_burst)667 if (oper == JB_OP_GET && jb->jb_level <= jb->jb_max_burst) 664 668 jbuf_calculate_jitter(jb); 665 669
Note: See TracChangeset
for help on using the changeset viewer.