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

Issue 526443003: Have WebMediaPlayerImpl track ended state. (Closed)

Created:
6 years, 3 months ago by scherkus (not reviewing)
Modified:
6 years, 3 months ago
CC:
chromium-reviews, posciak+watch_chromium.org, jam, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, wjia+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Have WebMediaPlayerImpl track ended state. Until we can rework the guts of HTMLMediaElement and its interaction with WebMediaPlayer, have WebMediaPlayerImpl track an ended state so it can return the duration HTMLMediaElement expects to fire the ended event. This makes it easier to change how Pipeline's audio/video time is implemented without worrying about the pecularities of HTMLMediaElement. BUG=349543, 370634 Committed: https://crrev.com/d2c745b13c93ecff5108bed57d8e052126715492 Cr-Commit-Position: refs/heads/master@{#293263}

Patch Set 1 #

Total comments: 4

Patch Set 2 : fixes #

Patch Set 3 : rebase #

Total comments: 2

Patch Set 4 : back to DCHECK #

Patch Set 5 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -0 lines) Patch
M content/renderer/media/webmediaplayer_impl.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M content/renderer/media/webmediaplayer_impl.cc View 1 2 3 4 4 chunks +16 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (8 generated)
scherkus (not reviewing)
assuming we're cool with this I can rip out a bunch of other silly code ...
6 years, 3 months ago (2014-08-30 00:07:18 UTC) #2
acolwell GONE FROM CHROMIUM
https://codereview.chromium.org/526443003/diff/1/content/renderer/media/webmediaplayer_impl.cc File content/renderer/media/webmediaplayer_impl.cc (right): https://codereview.chromium.org/526443003/diff/1/content/renderer/media/webmediaplayer_impl.cc#newcode451 content/renderer/media/webmediaplayer_impl.cc:451: nit: Add a DCHECK here to make sure you ...
6 years, 3 months ago (2014-08-30 01:00:28 UTC) #3
scherkus (not reviewing)
https://codereview.chromium.org/526443003/diff/1/content/renderer/media/webmediaplayer_impl.cc File content/renderer/media/webmediaplayer_impl.cc (right): https://codereview.chromium.org/526443003/diff/1/content/renderer/media/webmediaplayer_impl.cc#newcode451 content/renderer/media/webmediaplayer_impl.cc:451: On 2014/08/30 01:00:28, acolwell wrote: > nit: Add a ...
6 years, 3 months ago (2014-09-02 20:58:25 UTC) #6
acolwell GONE FROM CHROMIUM
lgtm % nit https://codereview.chromium.org/526443003/diff/80001/content/renderer/media/webmediaplayer_impl.cc File content/renderer/media/webmediaplayer_impl.cc (right): https://codereview.chromium.org/526443003/diff/80001/content/renderer/media/webmediaplayer_impl.cc#newcode450 content/renderer/media/webmediaplayer_impl.cc:450: if (ready_state_ == WebMediaPlayer::ReadyStateHaveNothing) nit: I'd ...
6 years, 3 months ago (2014-09-02 22:33:21 UTC) #7
scherkus (not reviewing)
https://codereview.chromium.org/526443003/diff/80001/content/renderer/media/webmediaplayer_impl.cc File content/renderer/media/webmediaplayer_impl.cc (right): https://codereview.chromium.org/526443003/diff/80001/content/renderer/media/webmediaplayer_impl.cc#newcode450 content/renderer/media/webmediaplayer_impl.cc:450: if (ready_state_ == WebMediaPlayer::ReadyStateHaveNothing) On 2014/09/02 22:33:21, acolwell wrote: ...
6 years, 3 months ago (2014-09-02 23:43:58 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/scherkus@chromium.org/526443003/120001
6 years, 3 months ago (2014-09-04 01:05:13 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg_recipe on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_clang_dbg_recipe/builds/1939)
6 years, 3 months ago (2014-09-04 03:03:24 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/scherkus@chromium.org/526443003/120001
6 years, 3 months ago (2014-09-04 03:28:30 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg_recipe on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_clang_dbg_recipe/builds/2000)
6 years, 3 months ago (2014-09-04 04:17:13 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/scherkus@chromium.org/526443003/120001
6 years, 3 months ago (2014-09-04 04:29:18 UTC) #18
commit-bot: I haz the power
Committed patchset #5 (id:120001) as 288f63d802cfb27f8b5c60f983a74ade00f01da3
6 years, 3 months ago (2014-09-04 05:05:39 UTC) #19
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:29:58 UTC) #20
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/d2c745b13c93ecff5108bed57d8e052126715492
Cr-Commit-Position: refs/heads/master@{#293263}

Powered by Google App Engine
This is Rietveld 408576698