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

This commit is contained in:
Anthony Minessale authored and Michael Jerris committed 2015-05-28 12:47:04 -05:00
1 parent 74f25524f1
commit 632c781c1c
3 files changed
+13 -6

No files matched your search

@@ -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";
}