mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-02 03:48:02 +00:00
implement the 'freeze' function for incoming frames;
fix a bug which caused a crash when a videodevice was specified after startgui=1 in the config file. This also involves a slightly different method to determine if the gui is active or not. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@126572 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1387,6 +1387,11 @@ static struct chan_oss_pvt *store_config(struct ast_config *cfg, char *ctg)
|
||||
system(cmd);
|
||||
ast_free(cmd);
|
||||
}
|
||||
|
||||
/* if the config file requested to start the GUI, do it */
|
||||
if (get_gui_startup(o->env))
|
||||
console_video_start(o->env, NULL);
|
||||
|
||||
if (o == &oss_default) /* we are done with the default */
|
||||
return NULL;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user