]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-8595 lower the q size by 1
authorAnthony Minessale <anthm@freeswitch.org>
Wed, 27 Jan 2016 20:02:40 +0000 (14:02 -0600)
committerAnthony Minessale <anthm@freeswitch.org>
Wed, 27 Jan 2016 20:02:46 +0000 (14:02 -0600)
src/mod/applications/mod_conference/conference_video.c

index 031f8f33573f5a228689bc1a7a13f6baf37ca907..758e8099695c1093bff370ea5e72f987e7252231 100644 (file)
@@ -1828,7 +1828,7 @@ void conference_video_pop_next_image(conference_member_t *member, switch_image_t
                                break;
                        }
                        size = switch_queue_size(member->video_queue);
-               } while(size > 1);
+               } while(size > 0);
 
                if (conference_utils_member_test_flag(member, MFLAG_CAN_BE_SEEN) && member->video_layer_id > -1 && switch_core_session_media_flow(member->session, SWITCH_MEDIA_TYPE_VIDEO) != SWITCH_MEDIA_FLOW_SENDONLY) {
                        if (img) {