diff options
author | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-12-26 20:01:16 +0000 |
---|---|---|
committer | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-12-26 20:01:16 +0000 |
commit | 4d04a3258e50f0c5d5103bd9eef6cec335d93056 (patch) | |
tree | e1b4c6f7b6ac602d420173233abb150329c18f34 /channels/vcodecs.c | |
parent | 9b60268827917e975c556fcf31abdad064bc185b (diff) |
more preparation for untangling of the various console_video stuff
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94805 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/vcodecs.c')
-rw-r--r-- | channels/vcodecs.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/channels/vcodecs.c b/channels/vcodecs.c index 197726eb9..3045ece23 100644 --- a/channels/vcodecs.c +++ b/channels/vcodecs.c @@ -3,6 +3,14 @@ * $Revision$ */ +#include "asterisk.h" +#include "console_video.h" +#include "asterisk/frame.h" + +struct video_out_desc; +struct video_in_desc; +struct fbuf_t; + /* * Each codec is defined by a number of callbacks */ @@ -13,6 +21,7 @@ typedef int (*encoder_init_f)(AVCodecContext *v); typedef int (*encoder_encode_f)(struct video_out_desc *v); /*! \brief encapsulate the bistream in RTP frames */ +/* struct fbuf_t, int mtu, struct ast_frame **tail */ typedef struct ast_frame *(*encoder_encap_f)(struct video_out_desc *out, struct ast_frame **tail); @@ -953,7 +962,7 @@ struct _cm { /* map ffmpeg codec types to asterisk formats */ uint32_t ast_format; /* 0 is a terminator */ enum CodecID codec; enum { CM_RD = 1, CM_WR = 2, CM_RDWR = 3 } rw; /* read or write or both ? */ - struct video_codec_desc *codec_desc; + //struct video_codec_desc *codec_desc; }; static struct _cm video_formats[] = { |