diff options
author | scherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-22 17:34:13 +0000 |
---|---|---|
committer | scherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-22 17:34:13 +0000 |
commit | b3766a2da2bb9cae1e09f941ef6a6235a993b3f9 (patch) | |
tree | 5c5ca5c7ac6ba13e77cb3529b51401566cf2a6ef /webkit/glue/webmediaplayer_impl.h | |
parent | 0f6b60f6d5df15005e5ab9fd18bb3402fcdc56df (diff) | |
download | chromium_src-b3766a2da2bb9cae1e09f941ef6a6235a993b3f9.zip chromium_src-b3766a2da2bb9cae1e09f941ef6a6235a993b3f9.tar.gz chromium_src-b3766a2da2bb9cae1e09f941ef6a6235a993b3f9.tar.bz2 |
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).
Patch by sjl@chromium.org:
http://codereview.chromium.org/5878007/
BUG=57173, 50581
TEST=media_unittests, test_shell_tests, media layout tests
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69956 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webmediaplayer_impl.h')
-rw-r--r-- | webkit/glue/webmediaplayer_impl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/webkit/glue/webmediaplayer_impl.h b/webkit/glue/webmediaplayer_impl.h index 8aa6661..bae0d9b 100644 --- a/webkit/glue/webmediaplayer_impl.h +++ b/webkit/glue/webmediaplayer_impl.h @@ -303,6 +303,7 @@ class WebMediaPlayerImpl : public WebKit::WebMediaPlayer, // clock can creep forward a little bit while the asynchronous // SetPlaybackRate(0) is being executed. bool paused_; + bool seeking_; float playback_rate_; base::TimeDelta paused_time_; |