plug another panic when the gui cannot be started.

We can still send video, just don't try to use what is not available.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127362 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.6.1
Luigi Rizzo 17 years ago
parent f26e7b97cb
commit 8cd40e3950

@ -892,9 +892,11 @@ static void *video_thread(void *arg)
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 (;;) {

Loading…
Cancel
Save