Changeset 3061


Ignore:
Timestamp:
Jan 14, 2010 12:39:11 PM (10 years ago)
Author:
nanang
Message:

Ticket #1027: Fixed stream to skip (frame.buf!=NULL) checking when frame type is PJMEDIA_FRAME_TYPE_EXT before passing the frame to encoder.

File:
1 edited

Legend:

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

    r2850 r3061  
    10021002 
    10031003    /* Encode audio frame */ 
    1004     } else if (frame->type != PJMEDIA_FRAME_TYPE_NONE && 
    1005                frame->buf != NULL)  
     1004    } else if ((frame->type == PJMEDIA_FRAME_TYPE_AUDIO && 
     1005                frame->buf != NULL) || 
     1006               (frame->type == PJMEDIA_FRAME_TYPE_EXTENDED)) 
    10061007    { 
    10071008        /* Encode! */ 
Note: See TracChangeset for help on using the changeset viewer.