FS-7513 FS-7509: add control for png and fix bug with null args

This commit is contained in:
Anthony Minessale
2015-02-20 18:04:00 -06:00
committed by Michael Jerris
parent 74f25524f1
commit 632c781c1c
3 changed files with 13 additions and 6 deletions
@@ -2877,7 +2877,7 @@ static void conference_mod_event_channel_handler(const char *event_channel, cJSO
exec = switch_mprintf("%s %s %d %s", conf_name, action, cid, argv[0]);
} else if (!strcasecmp(action, "play") || !strcasecmp(action, "stop")) {
exec = switch_mprintf("%s %s %s", conf_name, action, argv[0]);
} else if (!strcasecmp(action, "recording") || !strcasecmp(action, "vid-layout")) {
} else if (!strcasecmp(action, "recording") || !strcasecmp(action, "vid-layout") || !strcasecmp(action, "vid-write-png")) {
if (!argv[1]) {
argv[1] = "all";
}