summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorperkj <perkj@chromium.org>2014-11-19 03:48:49 -0800
committerCommit bot <commit-bot@chromium.org>2014-11-19 11:49:15 +0000
commit9b42dbcaa1e787d51410f0991aaa96e8d013c452 (patch)
treee0ea4d0345d86338c53844b49d28e65e76f5122b
parent3ecdc0fc0865969228755efc8bedd40784dc7357 (diff)
downloadchromium_src-9b42dbcaa1e787d51410f0991aaa96e8d013c452.zip
chromium_src-9b42dbcaa1e787d51410f0991aaa96e8d013c452.tar.gz
chromium_src-9b42dbcaa1e787d51410f0991aaa96e8d013c452.tar.bz2
HTMLMediaElement.buffered should return 0 when playing a MediaStream.
This is covered by the w3c test mediastreams-as-media-elements/video-assignment-manual.html BUG=412344 Review URL: https://codereview.chromium.org/731103002 Cr-Commit-Position: refs/heads/master@{#304795}
-rw-r--r--content/renderer/media/webmediaplayer_ms.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/renderer/media/webmediaplayer_ms.cc b/content/renderer/media/webmediaplayer_ms.cc
index 83f082a..232c02b 100644
--- a/content/renderer/media/webmediaplayer_ms.cc
+++ b/content/renderer/media/webmediaplayer_ms.cc
@@ -87,7 +87,7 @@ WebMediaPlayerMS::WebMediaPlayerMS(
: frame_(frame),
network_state_(WebMediaPlayer::NetworkStateEmpty),
ready_state_(WebMediaPlayer::ReadyStateHaveNothing),
- buffered_(static_cast<size_t>(1)),
+ buffered_(static_cast<size_t>(0)),
volume_(1.0f),
client_(client),
delegate_(delegate),