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/include/pjmedia/port.h

    r3402 r3622  
    2626 */ 
    2727#include <pjmedia/clock.h> 
     28#include <pjmedia/event.h> 
    2829#include <pjmedia/format.h> 
    2930#include <pjmedia/frame.h> 
     
    399400    pj_status_t (*on_destroy)(struct pjmedia_port *this_port); 
    400401 
     402    /** 
     403     * Get event publisher for this media port, if any. 
     404     */ 
     405    pjmedia_event_publisher *(*get_event_pub)(struct pjmedia_port *this_port); 
     406 
    401407} pjmedia_port; 
    402408 
     
    478484                                             pjmedia_frame *frame ); 
    479485 
     486/** 
     487 * Get the event publisher for the media port, if any. 
     488 * 
     489 * @param port      The media port. 
     490 * 
     491 * @return          The event publisher, or NULL if the port does not publish 
     492 *                  events. 
     493 */ 
     494PJ_DECL(pjmedia_event_publisher*) 
     495pjmedia_port_get_event_publisher(pjmedia_port *port); 
    480496 
    481497/** 
Note: See TracChangeset for help on using the changeset viewer.