Changeset 4593


Ignore:
Timestamp:
Sep 9, 2013 5:22:47 AM (11 years ago)
Author:
nanang
Message:

Misc (re #1630): Fixed bug of missing max_br/mbps/fs settings in h264 default profile initialization.

File:
1 edited

Legend:

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

    r4537 r4593  
    464464    /* When profile-level-id is not specified, use default value "42000A" */ 
    465465    if (h264_fmtp->profile_idc == 0) { 
    466         h264_fmtp->profile_idc = 0x42; 
    467         h264_fmtp->profile_iop = 0x00; 
    468         h264_fmtp->level = 0x0A; 
     466        const pj_str_t DEF_PROFILE = {"42000A", 6}; 
     467 
     468        status = init_h264_profile(&DEF_PROFILE, h264_fmtp); 
     469        if (status != PJ_SUCCESS) 
     470            return status; 
    469471    } 
    470472 
Note: See TracChangeset for help on using the changeset viewer.