diff options
author | Mark Spencer <markster@digium.com> | 2005-03-05 20:57:49 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2005-03-05 20:57:49 +0000 |
commit | 77b84426066654ab673077ce16e2ccf2717c6ff1 (patch) | |
tree | 31def79c8bff6b9b4ac8475dffcd5188bca8e5ef /frame.c | |
parent | b9027295d73bb51b75326ea2d09d74a451e1ac34 (diff) |
Merge H.263+ support (bug #3709)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5149 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'frame.c')
-rwxr-xr-x | frame.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -420,6 +420,7 @@ static struct ast_format_list AST_FORMAT_LIST[] = { { 1, AST_FORMAT_PNG, "png", "PNG image"}, { 1, AST_FORMAT_H261, "h261", "H.261 Video" }, { 1, AST_FORMAT_H263, "h263", "H.263 Video" }, + { 1, AST_FORMAT_H263_PLUS, "h263p", "H.263+ Video" }, { 0, 0, "nothing", "undefined" }, { 0, 0, "nothing", "undefined" }, { 0, 0, "nothing", "undefined" }, @@ -559,7 +560,7 @@ static int show_codecs(int fd, int argc, char *argv[]) if ((argc == 2) || (!strcasecmp(argv[1],"video"))) { found = 1; - for (i=18;i<20;i++) { + for (i=18;i<21;i++) { snprintf(hex,25,"(0x%x)",1<<i); ast_cli(fd, "%11u (1 << %2d) %10s video %5s (%s)\n",1 << i,i,hex,ast_getformatname(1<<i),ast_codec2str(1<<i)); } |