Changeset 2485


Ignore:
Timestamp:
Mar 4, 2009 2:53:12 PM (11 years ago)
Author:
bennylp
Message:

Ticket #744: Jitter buffer does not discard duplicate frame if it is currently empty (thanks Mårten Wikström for the report)

File:
1 edited

Legend:

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

    r2394 r2485  
    268268        } 
    269269    } else { 
     270        // check if frame is not too late, but watch out for sequence restart. 
     271        if (index < framelist->flist_origin &&  
     272            framelist->flist_origin - index < 0x7FFF)  
     273        { 
     274            return PJ_FALSE; 
     275        } 
     276 
    270277        where = framelist->flist_tail; 
    271278        framelist->flist_origin = index; 
Note: See TracChangeset for help on using the changeset viewer.