aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2008-05-19 13:33:08 +0000
committerrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2008-05-19 13:33:08 +0000
commit00111d287c7df6ac372bbf996aab21ff4ef59bd2 (patch)
treeae8e228875be620ca9f584a42d07865744c83f8e
parentde07591b7c60a3c7139a8182d6e5fce03662717e (diff)
Allow users to specify 'startgui=1' in oss.conf so that the
graphic screen for the video console is activated at startup. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@117024 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--channels/console_video.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/channels/console_video.c b/channels/console_video.c
index 554d03c39..dbd881482 100644
--- a/channels/console_video.c
+++ b/channels/console_video.c
@@ -1020,6 +1020,7 @@ int console_video_config(struct video_desc **penv,
CV_F("remote_size", video_geom(&env->rem_dpy, val));
CV_STR("keypad", env->keypad_file);
CV_F("region", keypad_cfg_read(env->gui, val));
+ CV_F("startgui", console_video_start(env, NULL)); // support enabling gui at startup
CV_STR("keypad_font", env->keypad_font);
CV_STR("sdl_videodriver", env->sdl_videodriver);
CV_UINT("fps", env->out.fps);