diff options
author | junov@chromium.org <junov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-04 23:35:33 +0000 |
---|---|---|
committer | junov@chromium.org <junov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-04 23:35:33 +0000 |
commit | e87dbfd42a7ff62190d2525a121ec80d83497629 (patch) | |
tree | 1b19fb65d611fd4c653b4f95dee1de28bff34fd9 /webkit/glue/media | |
parent | a4d965d6457ad587e19821eb5541082e3d17fdc9 (diff) | |
download | chromium_src-e87dbfd42a7ff62190d2525a121ec80d83497629.zip chromium_src-e87dbfd42a7ff62190d2525a121ec80d83497629.tar.gz chromium_src-e87dbfd42a7ff62190d2525a121ec80d83497629.tar.bz2 |
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
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95535 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/media')
-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(); } |