Changeset 5058 for pjproject/trunk/pjmedia/src/test/codec_vectors.c
- Timestamp:
- Apr 9, 2015 8:15:48 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/test/codec_vectors.c
r4712 r5058 74 74 codec_param.info.avg_bps = bitrate; 75 75 codec_param.setting.vad = 0; 76 77 /* For G7221, the bitrate is set via param.setting.dec_fmtp, if it has 78 * no info about bitrate, the codec will check info.avg_bps. So, let's 79 * just clear the SDP fmtp. 80 */ 81 if (pj_ansi_strstr(codec_name, "G7221/")) { 82 codec_param.setting.dec_fmtp.cnt = 0; 83 } 76 84 77 85 status = pjmedia_codec_init(codec, pool); … … 325 333 codec_param.info.avg_bps = bitrate; 326 334 codec_param.setting.vad = 0; 335 336 /* For G7221, the bitrate is set via param.setting.dec_fmtp, if it has 337 * no info about bitrate, the codec will check info.avg_bps. So, let's 338 * just clear the SDP fmtp. 339 */ 340 if (pj_ansi_strstr(codec_name, "G7221/")) { 341 codec_param.setting.dec_fmtp.cnt = 0; 342 } 327 343 328 344 status = pjmedia_codec_init(codec, pool);
Note: See TracChangeset
for help on using the changeset viewer.