Ignore:
Timestamp:
Oct 26, 2011 9:01:53 AM (10 years ago)
Author:
ming
Message:

Fixed #1401: Add support for video device's window flags

Now support flags PJMEDIA_VID_DEV_WND_BORDER and PJMEDIA_VID_DEV_WND_RESIZABLE.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/include/pjmedia-videodev/videodev.h

    r3787 r3864  
    112112 
    113113/** 
     114 * Enumeration of window flags. 
     115 */ 
     116typedef enum pjmedia_vid_dev_wnd_flag 
     117{ 
     118    /** 
     119     * Window with border. 
     120     */ 
     121    PJMEDIA_VID_DEV_WND_BORDER = 1, 
     122 
     123    /** 
     124     * Window can be resized. 
     125     */ 
     126    PJMEDIA_VID_DEV_WND_RESIZABLE = 2 
     127 
     128} pjmedia_vid_dev_wnd_flag; 
     129 
     130 
     131/** 
    114132 * Device index constants. 
    115133 */ 
     
    238256     */ 
    239257    PJMEDIA_VID_DEV_CAP_SWITCH = 256, 
     258 
     259    /** 
     260     * Support for setting the output video window's flags. 
     261     * The value of this capability is a bitmask combination of 
     262     * #pjmedia_vid_dev_wnd_flag. 
     263     */ 
     264    PJMEDIA_VID_DEV_CAP_OUTPUT_WINDOW_FLAGS = 512, 
    240265 
    241266    /** 
     
    422447    pjmedia_orient orient; 
    423448 
     449    /** 
     450     * Video window flags. This setting is optional, and will only be used 
     451     * if PJMEDIA_VID_DEV_CAP_OUTPUT_WINDOW_FLAGS is set in the flags. 
     452     */ 
     453    unsigned window_flags; 
     454 
    424455} pjmedia_vid_dev_param; 
    425456 
Note: See TracChangeset for help on using the changeset viewer.