FS-7500 FS-7517 FS-7508 FS-7514: chrome working on most, bria working on some

This commit is contained in:
Anthony Minessale authored and Michael Jerris committed 2015-05-28 12:46:44 -05:00
1 parent 9fdb54766c
commit d4a5ebf97d
3 files changed
+30 -23

No files matched your search

+3 -2
View File
@@ -395,8 +395,9 @@ static switch_status_t switch_h264_encode(switch_codec_t *codec,
return nalu_slice(context, encoded_data, encoded_data_len, flag);
}
width = img->d_w;
height = img->d_h;
//d_w and d_h are corrupt
width = img->w;
height = img->h;
//switch_assert(width > 0 && (width % 2 == 0));
//switch_assert(height > 0 && (height % 2 == 0));
+8 -5
View File
@@ -108,9 +108,10 @@ static switch_status_t switch_vpx_init(switch_codec_t *codec, switch_codec_flag_
return SWITCH_STATUS_FALSE;
}
context->width = 352;
context->height = 288;
context->bitrate = 38400;
// very big defaults till we know why scaling segs it
context->width = 3840;
context->height = 2160;
context->bitrate = 3840000;
// settings
config->g_profile = 1;
@@ -329,8 +330,10 @@ static switch_status_t switch_vpx_encode(switch_codec_t *codec, switch_image_t *
return consume_partition(context, encoded_data, encoded_data_len, flag);
}
width = img->d_w;
height = img->d_h;
//d_w and d_h are messed up
width = img->w;
height = img->h;
//switch_assert(width > 0 && (width % 4 == 0));
//switch_assert(height > 0 && (height % 4 == 0));