Ignore:
Timestamp:
Jun 20, 2011 6:16:08 AM (13 years ago)
Author:
ming
Message:

Closed #1309: Add video device capability to support changing position and hiding of renderer window.

Provide SDL implementation for both capabilities.

File:
1 edited

Legend:

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

    r3579 r3590  
    110110     */ 
    111111    PJMEDIA_VID_DEV_CAP_OUTPUT_RESIZE = 8, 
     112 
     113    /** 
     114     * Support for setting the video window's position. 
     115     * Value is pjmedia_coord specifying the window's new coordinate. 
     116     */ 
     117    PJMEDIA_VID_DEV_CAP_OUTPUT_POSITION = 16, 
     118 
     119    /** 
     120     * Support for setting the video output's visibility. 
     121     * The value of this capability is a pj_bool_t containing boolean 
     122     * PJ_TRUE or PJ_FALSE. 
     123     */ 
     124    PJMEDIA_VID_DEV_CAP_OUTPUT_HIDE = 32, 
    112125 
    113126    /** 
     
    299312    pjmedia_rect_size disp_size; 
    300313 
     314    /** 
     315     * Video window position. This setting is optional, and will only be used 
     316     * if PJMEDIA_VID_DEV_CAP_OUTPUT_POSITION is set in the flags. 
     317     */ 
     318    pjmedia_coord window_pos; 
     319 
     320    /** 
     321     * Video window's visibility. This setting is optional, and will only be 
     322     * used if PJMEDIA_VID_DEV_CAP_OUTPUT_HIDE is set in the flags. 
     323     */ 
     324    pj_bool_t window_hide; 
     325 
    301326} pjmedia_vid_param; 
    302327 
Note: See TracChangeset for help on using the changeset viewer.