diff options
author | junov@chromium.org <junov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-08 19:22:02 +0000 |
---|---|---|
committer | junov@chromium.org <junov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-08 19:22:02 +0000 |
commit | 3b0823742aa2139b2aeefd6cd6ea854d8501869a (patch) | |
tree | 353d0f1d47d379257003df8f14dc15e97ef58c92 | |
parent | fc8cc309586b87466a40a288c14ef43405460fad (diff) | |
download | chromium_src-3b0823742aa2139b2aeefd6cd6ea854d8501869a.zip chromium_src-3b0823742aa2139b2aeefd6cd6ea854d8501869a.tar.gz chromium_src-3b0823742aa2139b2aeefd6cd6ea854d8501869a.tar.bz2 |
Merge 95535 - Fixes video to canvas drawing. The draw operationwas not updating the video
past the first frame. Added a call to notifyPixelsChanged on the bitmap to
invalidate the associated texture chache entry, so that the frame will update
correctly.
BUG=57695
TEST=http://www.craftymind.com/factory/html5video/CanvasVideo.html
Review URL: http://codereview.chromium.org/7572027
TBR=junov@chromium.org
Review URL: http://codereview.chromium.org/7598005
git-svn-id: svn://svn.chromium.org/chrome/branches/835/src@95853 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | webkit/glue/media/video_renderer_impl.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/webkit/glue/media/video_renderer_impl.cc b/webkit/glue/media/video_renderer_impl.cc index c05ac99..ccafb37 100644 --- a/webkit/glue/media/video_renderer_impl.cc +++ b/webkit/glue/media/video_renderer_impl.cc @@ -176,6 +176,7 @@ void VideoRendererImpl::SlowPaint(media::VideoFrame* video_frame, video_frame->stride(media::VideoFrame::kUPlane), bitmap_.rowBytes(), yuv_type); + bitmap_.notifyPixelsChanged(); bitmap_.unlockPixels(); } |