[asterisk-commits] rizzo: branch rizzo/video_v2 r84152 - /team/rizzo/video_v2/channels/chan_alsa.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Oct 1 06:50:56 CDT 2007
Author: rizzo
Date: Mon Oct 1 06:50:55 2007
New Revision: 84152
URL: http://svn.digium.com/view/asterisk?view=rev&rev=84152
Log:
try to make this buildable
Modified:
team/rizzo/video_v2/channels/chan_alsa.c
Modified: team/rizzo/video_v2/channels/chan_alsa.c
URL: http://svn.digium.com/view/asterisk/team/rizzo/video_v2/channels/chan_alsa.c?view=diff&rev=84152&r1=84151&r2=84152
==============================================================================
--- team/rizzo/video_v2/channels/chan_alsa.c (original)
+++ team/rizzo/video_v2/channels/chan_alsa.c Mon Oct 1 06:50:55 2007
@@ -1128,7 +1128,8 @@
/* handle jb conf */
if (!ast_jb_read_conf(&global_jbconf, v->name, v->value))
continue;
-
+ if (!console_video_config(alsa.env, v->name, v->value))
+ return;
if (!strcasecmp(v->name, "autoanswer"))
autoanswer = ast_true(v->value);
else if (!strcasecmp(v->name, "silencesuppression"))
@@ -1147,16 +1148,6 @@
ast_copy_string(outdevname, v->value, sizeof(outdevname));
else if (!strcasecmp(v->name, "mohinterpret"))
ast_copy_string(mohinterpret, v->value, sizeof(mohinterpret));
- else if (!strcasecmp(v->name, "videodevice"))
- ast_copy_string(alsa.env.videodevice, v->value, sizeof(alsa.env.videodevice));
- else if (!strcasecmp(v->name, "videowidth"))
- alsa.env.w = atoi(v->value);
- else if (!strcasecmp(v->name, "bitrate"))
- alsa.env.bitrate = atoi(v->value);
- else if (!strcasecmp(v->name, "videoheight"))
- alsa.env.h = atoi(v->value);
- else if (!strcasecmp(v->name, "fps"))
- alsa.env.fps = atoi(v->value);
}
ast_config_destroy(cfg);
More information about the asterisk-commits
mailing list