diff options
author | Liong Sauw Ming <ming@teluu.com> | 2014-09-15 08:59:46 +0000 |
---|---|---|
committer | Liong Sauw Ming <ming@teluu.com> | 2014-09-15 08:59:46 +0000 |
commit | 57b41530ce3c94c94c135b90199b9cc013c402e7 (patch) | |
tree | a37892ebb180e40fe4efb19dbaa4c1fcb8b6397f /pjsip/include | |
parent | 0945eb513ed2cead6aa391b44cf998b8491d4c53 (diff) |
Fixed #1786: Add support to specify video format when opening video preview
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4921 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/include')
-rw-r--r-- | pjsip/include/pjsua-lib/pjsua.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pjsip/include/pjsua-lib/pjsua.h b/pjsip/include/pjsua-lib/pjsua.h index 3fa41a8f..b589f2d1 100644 --- a/pjsip/include/pjsua-lib/pjsua.h +++ b/pjsip/include/pjsua-lib/pjsua.h @@ -6564,6 +6564,12 @@ typedef struct pjsua_vid_preview_param * Default: 0. */ unsigned wnd_flags; + + /** + * Media format. Initialize this with #pjmedia_format_init_video(). + * If left unitialized, this parameter will not be used. + */ + pjmedia_format format; } pjsua_vid_preview_param; |