Ignore:
Timestamp:
Sep 24, 2008 5:27:46 PM (16 years ago)
Author:
nanang
Message:

Ticket #638: Reenable prefetch buffering via initial prefetch setting (set 0 to disable, otherwise to enable).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia/stream.c

    r2310 r2317  
    16701670        jb_max = 500 / stream->codec_param.info.frm_ptime; 
    16711671 
    1672     if (info->jb_min_pre >= 0) 
     1672    if (info->jb_min_pre > 0) 
    16731673        jb_min_pre = info->jb_min_pre; 
    16741674    else 
     
    16821682        jb_max_pre = jb_max * 4 / 5; 
    16831683 
    1684     if (info->jb_init >= 0) 
     1684    if (info->jb_init > 0) 
    16851685        jb_init = info->jb_init; 
    16861686    else 
    16871687        //jb_init = (jb_min_pre + jb_max_pre) / 2; 
    1688         jb_init = jb_min_pre; 
     1688        jb_init = 0; 
    16891689 
    16901690 
Note: See TracChangeset for help on using the changeset viewer.