diff options
author | Mark Spencer <markster@digium.com> | 2006-01-07 17:54:22 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2006-01-07 17:54:22 +0000 |
commit | e2ef61814fc960fa878d8f7b7ac98d27c51fc6ca (patch) | |
tree | 34e09d3fba69a40757b42b46d8656a74744e6c7b /include/asterisk/frame.h | |
parent | 33323ac720234c5ed8d2e38496acb3acee8379de (diff) |
Add support for H.264 with SIP and recording
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7855 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/frame.h')
-rw-r--r-- | include/asterisk/frame.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asterisk/frame.h b/include/asterisk/frame.h index c0815732b..ca8397e0f 100644 --- a/include/asterisk/frame.h +++ b/include/asterisk/frame.h @@ -193,6 +193,8 @@ struct ast_frame { #define AST_FORMAT_ILBC (1 << 10) /*! Maximum audio format */ #define AST_FORMAT_MAX_AUDIO (1 << 15) +/*! Maximum audio mask */ +#define AST_FORMAT_AUDIO_MASK ((1 << 16)-1) /*! JPEG Images */ #define AST_FORMAT_JPEG (1 << 16) /*! PNG Images */ @@ -203,8 +205,11 @@ struct ast_frame { #define AST_FORMAT_H263 (1 << 19) /*! H.263+ Video */ #define AST_FORMAT_H263_PLUS (1 << 20) +/*! H.264 Video */ +#define AST_FORMAT_H264 (1 << 21) /*! Maximum video format */ #define AST_FORMAT_MAX_VIDEO (1 << 24) +#define AST_FORMAT_VIDEO_MASK (((1 << 25)-1) & ~(AST_FORMAT_AUDIO_MASK)) /* Control frame types */ /*! Other end has hungup */ |