Index: include/asterisk/frame.h =================================================================== --- include/asterisk/frame.h (revision 87023) +++ include/asterisk/frame.h (working copy) @@ -261,6 +261,8 @@ #define AST_FORMAT_H264 (1 << 21) /*! MPEG4 Video */ #define AST_FORMAT_MP4_VIDEO (1 << 22) +/*! Theora Video */ +#define AST_FORMAT_THEORA (1 << 23) /*! Maximum video format */ #define AST_FORMAT_MAX_VIDEO (1 << 24) #define AST_FORMAT_VIDEO_MASK (((1 << 25)-1) & ~(AST_FORMAT_AUDIO_MASK)) Index: main/frame.c =================================================================== --- main/frame.c (revision 87023) +++ main/frame.c (working copy) @@ -125,6 +125,7 @@ { 1, AST_FORMAT_H263_PLUS, "h263p", "H.263+ Video" }, /*!< H.263plus passthrough support See format_h263.c */ { 1, AST_FORMAT_H264, "h264", "H.264 Video" }, /*!< Passthrough support, see format_h263.c */ { 1, AST_FORMAT_MP4_VIDEO, "mpeg4", "MPEG4 Video" }, /*!< Passthrough support for MPEG4 */ + { 1, AST_FORMAT_THEORA, "theora", "Theora Video" }, /*!< Passthrough support for Theora */ { 0, AST_FORMAT_MAX_VIDEO, "maxvideo", "Maximum video format" }, { 1, AST_FORMAT_T140, "t140", "Passthrough T.140 Realtime Text" }, /*!< Passthrough support for T.140 Realtime Text */ { 0, AST_FORMAT_MAX_TEXT, "maxtext", "Maximum text format" }, @@ -654,7 +655,7 @@ if ((a->argc == 3) || (!strcasecmp(a->argv[3],"video"))) { found = 1; - for (i=18;i<22;i++) { + for (i=18;i<25;i++) { snprintf(hex,25,"(0x%x)",1<fd, "%11u (1 << %2d) %10s video %8s (%s)\n",1 << i,i,hex,ast_getformatname(1<