]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-10854: [mod_conference] Canvas FG Image not refreshed before writing to video...
authorAnthony Minessale <anthm@freeswitch.org>
Wed, 20 Dec 2017 18:46:57 +0000 (12:46 -0600)
committerMuteesa Fred <muteesafred@hotmail.com>
Tue, 24 Jul 2018 07:21:37 +0000 (07:21 +0000)
src/mod/applications/mod_conference/conference_video.c

index 19732ffbc5fc060ef1141eba5c112cb685bd109b..e66a6dd68911945bacc51cd70c2e6dbc2ba14a94 100644 (file)
@@ -3978,14 +3978,14 @@ void *SWITCH_THREAD_FUNC conference_video_muxing_thread_run(switch_thread_t *thr
                                wait_for_canvas(canvas);
                        }
 
-                       if (canvas->recording) {
-                               conference_video_check_recording(conference, canvas, &write_frame);
-                       }
-
                        if (canvas->fgimg) {
                                conference_video_set_canvas_fgimg(canvas, NULL);
                        }
 
+                       if (canvas->recording) {
+                               conference_video_check_recording(conference, canvas, &write_frame);
+                       }
+
                        if (conference->canvas_count > 1) {
                                switch_image_t *img_copy = NULL;