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

This commit is contained in:
Anthony Minessale
2014-11-11 19:10:45 -06:00
parent fa04fefb6e
commit 5f1f628e28
3 changed files with 30 additions and 23 deletions
+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));