Ignore:
Timestamp:
Jul 12, 2011 9:08:56 AM (10 years ago)
Author:
bennylp
Message:

More on re #1284:

  • Replaced bit_info mechanism to report format change in codec with event
  • Updated vid_port, vid_codec_test, etc.
  • Add event publisher to vid_codec
  • Add event publisher to pjmedia_port
  • Add event publisher to vid_stream
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/2.0-dev/pjmedia/src/pjmedia/port.c

    r3402 r3622  
    118118} 
    119119 
     120/* 
     121 * Get event publisher 
     122 */ 
     123PJ_DEF(pjmedia_event_publisher*) 
     124pjmedia_port_get_event_publisher(pjmedia_port *port) 
     125{ 
     126    PJ_ASSERT_RETURN(port, NULL); 
     127 
     128    if (port->get_event_pub) 
     129        return (*port->get_event_pub)(port); 
     130 
     131    return NULL; 
     132} 
    120133 
    121134/** 
Note: See TracChangeset for help on using the changeset viewer.