From: Anthony Minessale Date: Wed, 16 Dec 2015 00:37:03 +0000 (-0600) Subject: FS-8595 matching input res does not work well when chrome auto decides to shrink... X-Git-Tag: v1.6.6~1^2~46 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=010db753f63262d23d9a70abe42c1970717b1165;p=thirdparty%2Ffreeswitch.git FS-8595 matching input res does not work well when chrome auto decides to shrink it too small so never mind this part --- diff --git a/src/mod/applications/mod_conference/conference_video.c b/src/mod/applications/mod_conference/conference_video.c index 8bcc57ef0b..c36b927f3e 100644 --- a/src/mod/applications/mod_conference/conference_video.c +++ b/src/mod/applications/mod_conference/conference_video.c @@ -1945,11 +1945,6 @@ void conference_video_check_auto_bitrate(conference_member_t *member, mcu_layer_ } else { int max = 0; - if (w > vid_params.width || h > vid_params.height) { - w = vid_params.width; - h = vid_params.height; - } - if (layer) { kps = switch_calc_bitrate(w, h, member->conference->video_quality, (int)(member->conference->video_fps.fps)); switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG1, "%s auto-setting bitrate to %dkps to accomodate %dx%d resolution\n",