Handle odd width and height in the MediaSource renderer.
Chrome requires video streams to have even width and height, so MediaSource renderer didn't work properly for streams with odd width or height. Fixed it to round up dimensions and crop one column or one row when screen size is odd, using Matroska's CropRight and CropBottom attributes. BUG=321825 Review URL: https://codereview.chromium.org/291193008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@272430 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment