summaryrefslogtreecommitdiffstats
path: root/media/base/yuv_convert.h
diff options
context:
space:
mode:
authorananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-07 19:02:58 +0000
committerananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-07 19:02:58 +0000
commitfa777a4150b17e16d77d8bf38525ac29169283b9 (patch)
treef146f9d3842011e255b91804fbe9eb4734aac4fd /media/base/yuv_convert.h
parentd3be028a3ceb7522455ef7d290fc55cc7ddfb8ab (diff)
downloadchromium_src-fa777a4150b17e16d77d8bf38525ac29169283b9.zip
chromium_src-fa777a4150b17e16d77d8bf38525ac29169283b9.tar.gz
chromium_src-fa777a4150b17e16d77d8bf38525ac29169283b9.tar.bz2
Fix a crash which occurs in the renderer process while attempting to read pixels off a native H/W decoded
video texture. The crash occurs because the destination SkBitmap is allocated using the visible rect on the video frame while we try and copy the pixels from the texture using the coded rect which could be greater than the visible rect. Fix is to use the visible rect of the video frame in the ReadPixels callback. Fixes bug https://code.google.com/p/chromium/issues/detail?id=174146 BUG=174146 Review URL: https://chromiumcodereview.appspot.com/12226052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181343 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/base/yuv_convert.h')
0 files changed, 0 insertions, 0 deletions