Changeset 2791 for pjproject


Ignore:
Timestamp:
Jun 24, 2009 3:40:25 PM (15 years ago)
Author:
nanang
Message:

Ticket #875: backported changes from ticket #874

Location:
pjproject/branches/1.0
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/1.0

  • pjproject/branches/1.0/pjmedia/src/pjmedia-codec/g722.c

    r2394 r2791  
    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 
  • pjproject/branches/1.0/pjmedia/src/pjmedia-codec/gsm.c

    r2394 r2791  
    567567 
    568568    output->type = PJMEDIA_FRAME_TYPE_AUDIO; 
     569    output->timestamp = input->timestamp; 
    569570 
    570571    return PJ_SUCCESS; 
     
    596597    output->size = 320; 
    597598    output->type = PJMEDIA_FRAME_TYPE_AUDIO; 
     599    output->timestamp = input->timestamp; 
    598600 
    599601#if !PLC_DISABLED 
  • pjproject/branches/1.0/pjmedia/src/pjmedia-codec/l16.c

    r2547 r2791  
    651651    output->type = PJMEDIA_FRAME_TYPE_AUDIO; 
    652652    output->size = input->size; 
     653    output->timestamp = input->timestamp; 
    653654 
    654655    return PJ_SUCCESS; 
     
    685686    output->type = PJMEDIA_FRAME_TYPE_AUDIO; 
    686687    output->size = input->size; 
     688    output->timestamp = input->timestamp; 
    687689 
    688690#if !PLC_DISABLED 
  • pjproject/branches/1.0/pjmedia/src/pjmedia/g711.c

    r2394 r2791  
    540540    output->type = PJMEDIA_FRAME_TYPE_AUDIO; 
    541541    output->size = (input->size >> 1); 
     542    output->timestamp = input->timestamp; 
    542543 
    543544    return PJ_SUCCESS; 
     
    583584    output->type = PJMEDIA_FRAME_TYPE_AUDIO; 
    584585    output->size = (input->size << 1); 
     586    output->timestamp = input->timestamp; 
    585587 
    586588#if !PLC_DISABLED 
Note: See TracChangeset for help on using the changeset viewer.