Changeset 3642
- Timestamp:
- Jul 14, 2011 6:51:51 AM (13 years ago)
- Location:
- pjproject/branches/projects/2.0-dev/pjmedia
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/2.0-dev/pjmedia/include/pjmedia/event.h
r3640 r3642 49 49 * Media format has changed event. 50 50 */ 51 PJMEDIA_EVENT_FMT_CHANGED ,51 PJMEDIA_EVENT_FMT_CHANGED = PJMEDIA_FOURCC('F', 'M', 'C', 'H'), 52 52 53 53 /** 54 54 * Video window is being closed. 55 55 */ 56 PJMEDIA_EVENT_WND_CLOSING ,56 PJMEDIA_EVENT_WND_CLOSING = PJMEDIA_FOURCC('W', 'N', 'C', 'L'), 57 57 58 58 /** 59 59 * Video window has been closed event. 60 60 */ 61 PJMEDIA_EVENT_WND_CLOSED ,61 PJMEDIA_EVENT_WND_CLOSED = PJMEDIA_FOURCC('W', 'N', 'C', 'O'), 62 62 63 63 /** 64 64 * Video window has been resized event. 65 65 */ 66 PJMEDIA_EVENT_WND_RESIZED ,66 PJMEDIA_EVENT_WND_RESIZED = PJMEDIA_FOURCC('W', 'N', 'R', 'Z'), 67 67 68 68 /** 69 69 * Mouse button has been pressed event. 70 70 */ 71 PJMEDIA_EVENT_MOUSE_BTN_DOWN ,71 PJMEDIA_EVENT_MOUSE_BTN_DOWN = PJMEDIA_FOURCC('M', 'S', 'D', 'N'), 72 72 73 73 /** 74 74 * Video key frame has just been decoded event. 75 75 */ 76 PJMEDIA_EVENT_KEY_FRAME_FOUND ,76 PJMEDIA_EVENT_KEY_FRAME_FOUND = PJMEDIA_FOURCC('I', 'F', 'R', 'F'), 77 77 78 78 /** 79 79 * Video decoding error due to missing key frame event. 80 80 */ 81 PJMEDIA_EVENT_KEY_FRAME_MISSING, 82 83 /** 84 * Start of user event. 85 */ 86 PJMEDIA_EVENT_USER = 100 81 PJMEDIA_EVENT_KEY_FRAME_MISSING = PJMEDIA_FOURCC('I', 'F', 'R', 'M') 87 82 88 83 } pjmedia_event_type; -
pjproject/branches/projects/2.0-dev/pjmedia/src/pjmedia/event.c
r3640 r3642 92 92 { 93 93 pjmedia_event_subscription *esub; 94 char event_name[5]; 95 char epub_name[5]; 94 96 pj_status_t err = PJ_SUCCESS; 95 97 96 98 PJ_ASSERT_RETURN(epub && event, PJ_EINVAL); 97 99 98 TRACE_((THIS_FILE, "Event %d is published by publisher %x", 99 event->type, epub)); 100 TRACE_((THIS_FILE, "Event %s is published by publisher %s", 101 pjmedia_fourcc_name(event->type, event_name), 102 pjmedia_fourcc_name(epub->sig, epub_name))); 100 103 101 104 esub = epub->subscription_list.next;
Note: See TracChangeset
for help on using the changeset viewer.