diff options
author | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-05-14 13:37:07 +0000 |
---|---|---|
committer | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-05-14 13:37:07 +0000 |
commit | f3a2d1775a50b17e39cb135d2858bb14b604d846 (patch) | |
tree | 286bbaf1d6f9c03c1aa7e5b135c437d0697a2330 /main/frame.c | |
parent | 7dd656be4810ec86df58a1362085159e09401563 (diff) |
Adding spport for T.140 RED - Simple RTP redundancy to prevent packet loss in text stream
Work sponsored by Omnitor AB, Stockholm, Sweden (http://www.omnitor.se)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@116237 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/frame.c')
-rw-r--r-- | main/frame.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/main/frame.c b/main/frame.c index c49e8e661..75c6f91cc 100644 --- a/main/frame.c +++ b/main/frame.c @@ -119,6 +119,7 @@ static struct ast_format_list AST_FORMAT_LIST[] = { { AST_FORMAT_H263_PLUS, "h263p", 0, "H.263+ Video" }, /*!< H.263plus passthrough support See format_h263.c */ { AST_FORMAT_H264, "h264", 0, "H.264 Video" }, /*!< Passthrough support, see format_h263.c */ { AST_FORMAT_MP4_VIDEO, "mpeg4", 0, "MPEG4 Video" }, /*!< Passthrough support for MPEG4 */ + { AST_FORMAT_T140RED, "red", 1, "T.140 Realtime Text with redundancy"}, /*!< Redundant T.140 Realtime Text */ { AST_FORMAT_T140, "t140", 0, "Passthrough T.140 Realtime Text" }, /*!< Passthrough support for T.140 Realtime Text */ }; @@ -575,7 +576,7 @@ int ast_getformatbyname(const char *name) for (x = 0; x < sizeof(AST_FORMAT_LIST) / sizeof(AST_FORMAT_LIST[0]); x++) { if (all || !strcasecmp(AST_FORMAT_LIST[x].name,name) || - !strcasecmp(AST_FORMAT_LIST[x].name,ast_expand_codec_alias(name))) { + !strcasecmp(AST_FORMAT_LIST[x].name, ast_expand_codec_alias(name))) { format |= AST_FORMAT_LIST[x].bits; if (!all) break; |