aboutsummaryrefslogtreecommitdiffstats
path: root/channels/console_video.c
diff options
context:
space:
mode:
authorrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2008-01-09 16:44:20 +0000
committerrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2008-01-09 16:44:20 +0000
commit1e7077c8bda1eab42913c7d8050d29e65f3f2044 (patch)
tree7c5a36fe738b9e8543d192c6eccebc3cb1285a92 /channels/console_video.c
parent3af5eebefce406fba0b8e681b299439af3412207 (diff)
Implement keyboard handling, and use it to enter
a number to dial in the 'message' area under the keypad. Now you can make calls using the keypad as a regular phone (or the keyboard for chars not present on the keypad) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97488 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/console_video.c')
-rw-r--r--channels/console_video.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/channels/console_video.c b/channels/console_video.c
index 4cc0809d3..5c7e87e72 100644
--- a/channels/console_video.c
+++ b/channels/console_video.c
@@ -667,8 +667,6 @@ static struct ast_frame *get_video_frames(struct video_desc *env, struct ast_fra
return v->enc->enc_encap(&v->enc_out, v->mtu, tail);
}
-int print_message(struct board *b, const char *s);
-
/*
* Helper thread to periodically poll the video source and enqueue the
* generated frames to the channel's queue.
@@ -725,10 +723,6 @@ static void *video_thread(void *arg)
int fd;
char *caption = NULL, buf[160];
- sprintf(buf, "%d \r", count);
- if (env->gui)
- print_message(env->gui->bd_msg, buf);
-
/* determine if video format changed */
if (count++ % 10 == 0) {
if (env->out.sendvideo)