Changeset 3628
- Timestamp:
- Jul 12, 2011 10:54:56 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/2.0-dev/pjmedia/src/pjmedia-codec/ffmpeg_codecs.c
r3622 r3628 1446 1446 output->type = PJMEDIA_FRAME_TYPE_VIDEO; 1447 1447 output->size = vafp->framebytes; 1448 1449 /* Check if we got key frame */ 1450 if (avframe.key_frame && pjmedia_event_publisher_has_sub(&codec->epub)) 1451 { 1452 pjmedia_event event; 1453 1454 pjmedia_event_init(&event, PJMEDIA_EVENT_KEY_FRAME_FOUND, 1455 &output->timestamp, &codec->epub); 1456 pjmedia_event_publish(&codec->epub, &event); 1457 } 1448 1458 } else { 1449 1459 output->type = PJMEDIA_FRAME_TYPE_NONE;
Note: See TracChangeset
for help on using the changeset viewer.