Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(91)

Issue 5878007: Fix black video frames when seeking (which also fixes flashing poster issue). (Closed)

Created:
10 years ago by sjl
Modified:
9 years, 3 months ago
CC:
chromium-reviews, vrk (LEFT CHROMIUM), fbarchard, ddorwin+watch_chromium.org, Alpha Left Google, acolwell GONE FROM CHROMIUM, annacc, darin-cc_chromium.org, awong, scherkus (not reviewing)
Visibility:
Public.

Description

Fix black video frames when seeking (which also fixes flashing poster issue). Keep track of the last available video frame in VideoRendererBase. Don't drop our readystate when starting to seek as we do actually have something to display (this fixes the poster issue). BUG=57173, 50581 TEST=media_unittests, test_shell_tests, media layout tests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=69956

Patch Set 1 #

Total comments: 5

Patch Set 2 : Cache the last available video frame in VideoRendererBase instead of copying a bitmap. #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -14 lines) Patch
M media/filters/video_renderer_base.h View 1 2 chunks +2 lines, -0 lines 0 comments Download
M media/filters/video_renderer_base.cc View 1 3 chunks +27 lines, -8 lines 4 comments Download
M webkit/glue/webmediaplayer_impl.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M webkit/glue/webmediaplayer_impl.cc View 1 5 chunks +5 lines, -6 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
sjl
10 years ago (2010-12-17 05:45:10 UTC) #1
scherkus (not reviewing)
I'm wondering if it makes more sense to do the caching in VideoRendererImpl so that ...
10 years ago (2010-12-17 18:50:39 UTC) #2
sjl
On 2010/12/17 18:50:39, scherkus wrote: > I'm wondering if it makes more sense to do ...
10 years ago (2010-12-18 03:00:02 UTC) #3
sjl
On 2010/12/18 03:00:02, sjl wrote: > On 2010/12/17 18:50:39, scherkus wrote: > > I'm wondering ...
10 years ago (2010-12-18 23:19:00 UTC) #4
scherkus (not reviewing)
few questions but overall looking good it's a tiny bit hacky but it'll work -- ...
10 years ago (2010-12-20 22:49:54 UTC) #5
sjl
On 2010/12/20 22:49:54, scherkus wrote: > few questions but overall looking good > > it's ...
10 years ago (2010-12-21 22:13:19 UTC) #6
sjl
http://codereview.chromium.org/5878007/diff/8001/media/filters/video_renderer_base.cc File media/filters/video_renderer_base.cc (right): http://codereview.chromium.org/5878007/diff/8001/media/filters/video_renderer_base.cc#newcode101 media/filters/video_renderer_base.cc:101: if (pending_paint_ == false) On 2010/12/20 22:49:55, scherkus wrote: ...
10 years ago (2010-12-21 22:13:39 UTC) #7
scherkus (not reviewing)
cool! LGTM! as for a follow up bug, check out the following two: http://code.google.com/p/chromium/issues/detail?id=28208 http://code.google.com/p/chromium/issues/detail?id=53715
10 years ago (2010-12-21 22:25:07 UTC) #8
scherkus (not reviewing)
10 years ago (2010-12-22 17:34:47 UTC) #9
Committed as r69956.

Powered by Google App Engine
This is Rietveld 408576698