From: Anthony Minessale Date: Wed, 27 Jan 2016 20:02:40 +0000 (-0600) Subject: FS-8595 lower the q size by 1 X-Git-Tag: v1.6.7~2^2~125 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8daa71eb144b98b40905007b6d93a00a65e9f08e;p=thirdparty%2Ffreeswitch.git FS-8595 lower the q size by 1 --- diff --git a/src/mod/applications/mod_conference/conference_video.c b/src/mod/applications/mod_conference/conference_video.c index 031f8f3357..758e809969 100644 --- a/src/mod/applications/mod_conference/conference_video.c +++ b/src/mod/applications/mod_conference/conference_video.c @@ -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) {