]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-8595 matching input res does not work well when chrome auto decides to shrink...
authorAnthony Minessale <anthm@freeswitch.org>
Wed, 16 Dec 2015 00:37:03 +0000 (18:37 -0600)
committerAnthony Minessale <anthm@freeswitch.org>
Wed, 16 Dec 2015 00:37:03 +0000 (18:37 -0600)
src/mod/applications/mod_conference/conference_video.c

index 8bcc57ef0b95061abc25f013f9040e558bd271f3..c36b927f3e6ac730127e3738294a8325a688f922 100644 (file)
@@ -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",