- Timestamp:
- Apr 7, 2011 5:12:35 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/2.0-dev/pjmedia/src/pjmedia-codec/ffmpeg_codecs.c
r3501 r3502 217 217 }; 218 218 219 220 /* H264 constants */ 221 #define PROFILE_H264_BASELINE 66 222 #define PROFILE_H264_MAIN 77 219 223 220 224 /* Codec specific functions */ … … 318 322 */ 319 323 ctx->profile = data->fmtp.profile_idc; 320 if (ctx->profile == FF_PROFILE_H264_BASELINE) {324 if (ctx->profile == PROFILE_H264_BASELINE) { 321 325 /* Baseline profile settings (the most used profile in 322 326 * conversational/real-time communications). … … 326 330 ctx->flags2 &= ~(CODEC_FLAG2_WPRED | CODEC_FLAG2_8X8DCT); 327 331 ctx->weighted_p_pred = 0; 328 } else if (ctx->profile == FF_PROFILE_H264_MAIN) {332 } else if (ctx->profile == PROFILE_H264_MAIN) { 329 333 ctx->flags2 &= ~CODEC_FLAG2_8X8DCT; 330 334 }
Note: See TracChangeset
for help on using the changeset viewer.