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

Issue 2617993003: Fix displayed duration after onDurationChange (Closed)

Created:
3 years, 11 months ago by tguilbert
Modified:
3 years, 11 months ago
Reviewers:
mlamouri (slow - plz ping), sarsilmazismet
CC:
blink-reviews, blink-reviews-html_chromium.org, chromium-reviews, dglazkov+blink, eric.carlson_apple.com, feature-media-reviews_chromium.org, fs, gasubic, mlamouri+watch-blink_chromium.org, nessy, Srirama, vcarbune.chromium
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix displayed duration after onDurationChange MediaControls::onDurationChange updates m_timeline, but does not update the displayed duration. This means that HLS streams (and propably other types of media) always have a duration of '0:00', because we don't know the duration until we have started playing the media (and we initially report a 0s duration). This change fixes onDurationChange. BUG=679049 TEST= Manually confirmed using a test HLS stream Review-Url: https://codereview.chromium.org/2617993003 Cr-Commit-Position: refs/heads/master@{#442330} Committed: https://chromium.googlesource.com/chromium/src/+/5e9a62259f89620d6c31829937af7dd59b486f10

Patch Set 1 #

Patch Set 2 : Addressed comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -1 line) Patch
M third_party/WebKit/Source/core/html/shadow/MediaControls.cpp View 1 1 chunk +9 lines, -1 line 0 comments Download

Messages

Total messages: 16 (9 generated)
tguilbert
PTAL :) Thank you, Thomas
3 years, 11 months ago (2017-01-06 23:21:16 UTC) #2
mlamouri (slow - plz ping)
lgtm -- though, would you mind keeping the current time and duration text update together ...
3 years, 11 months ago (2017-01-09 13:41:00 UTC) #7
tguilbert
On 2017/01/09 13:41:00, mlamouri wrote: > lgtm -- though, would you mind keeping the current ...
3 years, 11 months ago (2017-01-09 18:51:45 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2617993003/20001
3 years, 11 months ago (2017-01-09 18:52:23 UTC) #11
sarsilmazismet_gmail.com
S88aaui 9 Oca 2017 20:51 tarihinde <tguilbert@chromium.org> yazdı: > On 2017/01/09 13:41:00, mlamouri wrote: > ...
3 years, 11 months ago (2017-01-09 18:53:37 UTC) #12
sarsilmazismet_gmail.com
S88aaui 9 Oca 2017 20:51 tarihinde <tguilbert@chromium.org> yazdı: > On 2017/01/09 13:41:00, mlamouri wrote: > ...
3 years, 11 months ago (2017-01-09 18:53:37 UTC) #13
commit-bot: I haz the power
3 years, 11 months ago (2017-01-09 20:39:04 UTC) #16
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/5e9a62259f89620d6c31829937af...

Powered by Google App Engine
This is Rietveld 408576698