Chromium Code Reviews

Issue 20345: The guts of the video renderer logic that relate to timing and queuing of fra... (Closed)

Created:
11 years, 10 months ago by ralphl
Modified:
9 years, 7 months ago
Reviewers:
scherkus (not reviewing), fbarchard, cpu_(ooo_6.6-7.5), Alpha Left Google
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

The guts of the video renderer logic that relate to timing and queuing of frames have been moved into a base class. This class now simply interracts with the delegate to paint the current frame when a repaint is needed. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=10296

Patch Set 1 #

Total comments: 8

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Total comments: 2
Unified diffs Side-by-side diffs Stats (+77 lines, -414 lines)
M chrome/renderer/DEPS View 1 chunk +2 lines, -1 line 0 comments
M chrome/renderer/media/video_renderer_impl.h View 2 chunks +34 lines, -127 lines 0 comments
M chrome/renderer/media/video_renderer_impl.cc View 1 chunk +41 lines, -286 lines 2 comments

Messages

Total messages: 5 (0 generated)
ralphl
The 3rd of three related CL's. This one actually uses the base class in the ...
11 years, 10 months ago (2009-02-13 01:33:54 UTC) #1
scherkus (not reviewing)
nice refactor, just some quick comments I'll take a quick look at this again after ...
11 years, 10 months ago (2009-02-19 08:48:21 UTC) #2
ralphl
Updated rect to size and added comments about how the rect's relate to each other. ...
11 years, 10 months ago (2009-02-20 01:44:32 UTC) #3
ralphl
This is now passing the try servers. I think this should be reasonably easy to ...
11 years, 10 months ago (2009-02-24 18:26:31 UTC) #4
scherkus (not reviewing)
11 years, 10 months ago (2009-02-24 21:00:19 UTC) #5
LGTM

Submit after fixing tiny nit.

http://codereview.chromium.org/20345/diff/4006/4007
File chrome/renderer/media/video_renderer_impl.cc (right):

http://codereview.chromium.org/20345/diff/4006/4007#newcode28
Line 28: void VideoRendererImpl::Paint(skia::PlatformCanvas *canvas,
pointer goes with the type

http://codereview.chromium.org/20345/diff/4006/4007#newcode34
Line 34: video_frame = NULL;
This line isn't really needed due to scoped_refptr unless you explicitly want to
release your reference here

Powered by Google App Engine