Ignore:
Timestamp:
Jun 2, 2009 6:01:49 PM (12 years ago)
Author:
nanang
Message:

Ticket #874: Updated some pjmedia codecs to maintain timestamp.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia-codec/g722.c

    r2394 r2735  
    579579 
    580580    output->type = PJMEDIA_FRAME_TYPE_AUDIO; 
     581    output->timestamp = input->timestamp; 
    581582     
    582583    TRACE_((THIS_FILE, "G722 encode(): size=%d", output->size)); 
     
    625626    output->size = SAMPLES_PER_FRAME * 2; 
    626627    output->type = PJMEDIA_FRAME_TYPE_AUDIO; 
     628    output->timestamp = input->timestamp; 
    627629 
    628630#if !PLC_DISABLED 
Note: See TracChangeset for help on using the changeset viewer.