[svn-commits] rizzo: trunk r127362 - /trunk/channels/console_video.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Wed Jul 2 07:06:49 CDT 2008
Author: rizzo
Date: Wed Jul 2 07:06:48 2008
New Revision: 127362
URL: http://svn.digium.com/view/asterisk?view=rev&rev=127362
Log:
plug another panic when the gui cannot be started.
We can still send video, just don't try to use what is not available.
Modified:
trunk/channels/console_video.c
Modified: trunk/channels/console_video.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/console_video.c?view=diff&rev=127362&r1=127361&r2=127362
==============================================================================
--- trunk/channels/console_video.c (original)
+++ trunk/channels/console_video.c Wed Jul 2 07:06:48 2008
@@ -892,9 +892,11 @@
video_out_init(env);
/* Writes intial status of the sources. */
- for (i = 0; i < env->out.device_num; i++) {
+ if (env->gui) {
+ for (i = 0; i < env->out.device_num; i++) {
print_message(env->gui->thumb_bd_array[i].board,
src_msgs[env->out.devices[i].status_index]);
+ }
}
for (;;) {
More information about the svn-commits
mailing list