- Timestamp:
- Aug 29, 2011 9:54:02 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_vid.c
r3732 r3737 24 24 #if PJSUA_HAS_VIDEO 25 25 26 #define ENABLE_EVENT 0 26 27 #define VID_TEE_MAX_PORT (PJSUA_MAX_CALLS + 1) 27 28 … … 648 649 w = &pjsua_var.win[wid]; 649 650 651 #if ENABLE_EVENT 650 652 /* Register to video events */ 651 653 pjmedia_event_subscribe( 652 654 pjmedia_vid_port_get_event_publisher(w->vp_rend), 653 655 &call_med->esub_rend); 656 #endif 654 657 655 658 /* Connect renderer to stream */ … … 694 697 695 698 w = &pjsua_var.win[wid]; 696 699 #if ENABLE_EVENT 697 700 pjmedia_event_subscribe( 698 701 pjmedia_vid_port_get_event_publisher(w->vp_cap), 699 702 &call_med->esub_cap); 703 #endif 700 704 701 705 /* Connect stream to capturer (via video window tee) */ … … 1475 1479 return status; 1476 1480 1481 #if ENABLE_EVENT 1477 1482 pjmedia_event_subscribe( 1478 1483 pjmedia_vid_port_get_event_publisher(w->vp_rend), 1479 1484 &call_med->esub_cap); 1485 #endif 1480 1486 1481 1487 /* Start renderer */
Note: See TracChangeset
for help on using the changeset viewer.