Changeset 3904
- Timestamp:
- Dec 8, 2011 10:27:38 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia-codec/ffmpeg_codecs.c
r3901 r3904 1404 1404 1405 1405 /* Force keyframe */ 1406 if (opt && opt->force_keyframe) 1406 if (opt && opt->force_keyframe) { 1407 #if LIBAVCODEC_VER_AT_LEAST(53,20) 1407 1408 avframe.pict_type = AV_PICTURE_TYPE_I; 1409 #else 1410 avframe.pict_type = FF_I_TYPE; 1411 #endif 1412 } 1408 1413 1409 1414 err = avcodec_encode_video(ff->enc_ctx, out_buf, out_buf_len, &avframe);
Note: See TracChangeset
for help on using the changeset viewer.