]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-10050: [core] chromakey
authorBrian West <brian@freeswitch.org>
Thu, 4 May 2017 16:11:56 +0000 (11:11 -0500)
committerBrian West <brian@freeswitch.org>
Thu, 4 May 2017 16:12:12 +0000 (11:12 -0500)
src/mod/applications/mod_video_filter/mod_video_filter.c

index 0208094d9269c2f33facc88860b525f89150e0d6..1b831b6ed077f3f23831714a81fb013dd90aacec 100644 (file)
@@ -101,6 +101,11 @@ static void parse_params(chromakey_context_t *context, int start, int argc, char
 
        switch_mutex_lock(context->command_mutex);
 
+       if (!context->ck) {
+               switch_mutex_unlock(context->command_mutex);
+               return;
+       }
+       
        context->patch = 0;
 
        if (n > 0 && argv[i]) { // color