Ignore:
Timestamp:
Mar 1, 2011 3:55:34 PM (10 years ago)
Author:
ming
Message:

Re #1182:

  • support for format modification after creating video port (currently for renderer with active role only).
  • support for format modification after opening SDL renderer.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/2.0-dev/pjmedia/include/pjmedia-videodev/videodev.h

    r3420 r3431  
    161161{ 
    162162    PJMEDIA_EVENT_NONE, 
     163    PJMEDIA_EVENT_FMT_CHANGED, 
    163164    PJMEDIA_EVENT_MOUSEBUTTONDOWN, 
    164165    PJMEDIA_EVENT_WINDOW_RESIZE, 
     
    169170typedef struct pjmedia_vid_event 
    170171{ 
    171     pjmedia_event_type  event_type; 
    172     long                lparam; 
    173     void               *pparam; 
     172    pjmedia_event_type event_type; 
     173    union { 
     174        struct resize_event { 
     175            pjmedia_rect_size new_size; 
     176        } resize; 
     177        struct fmt_changed_event { 
     178            pjmedia_format new_format; 
     179        } fmt_change; 
     180    } event_desc; 
    174181} pjmedia_vid_event; 
    175182 
Note: See TracChangeset for help on using the changeset viewer.