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

Issue 1267953003: Re-Relanding 'Always notify the WebMediaPlayer of any seek' patch (Closed)

Created:
5 years, 4 months ago by Srirama
Modified:
5 years, 4 months ago
Reviewers:
philipj_slow
CC:
blink-reviews, nessy, mlamouri+watch-blink_chromium.org, gasubic, fs, eric.carlson_apple.com, feature-media-reviews_chromium.org, dglazkov+blink, blink-reviews-html_chromium.org, vcarbune.chromium
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Re-Relanding 'Always notify the WebMediaPlayer of any seek' patch This change removes short circuit logic for seeking to the current position. There are certain situations, like seeking to a truncated duration, where the HTMLMediaElement is not in the best position to determine whether a call to the WebMediaPlayer is necessary or not. This change allows the WebMediaPlayer implementation to determine what the best course of action should be. This also makes the seeking behavior more spec compliant because even a seek to the current position should have the seeking attribute be true until a stable state occurs. This is guaranteed when calling into the WebMediaPlayer and allows all seeks to be treated the same at the HTMLMediaElement level. BUG=266631 TEST=LayoutTests/media/video-seek-to-current-position.html Original CL: https://codereview.chromium.org/431903003/ Re-attemp: https://codereview.chromium.org/456343002/ Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=199977

Patch Set 1 #

Total comments: 8

Patch Set 2 : address comments #

Total comments: 2

Patch Set 3 : copy seek-to-currentTime.html from web-platform-tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -28 lines) Patch
M LayoutTests/media/controls-timeline-with-controller.html View 2 chunks +7 lines, -1 line 0 comments Download
M LayoutTests/media/controls-timeline-with-controller-expected.txt View 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/media/media-controller-effective-playback-rate.html View 1 2 2 chunks +5 lines, -4 lines 0 comments Download
M LayoutTests/media/media-controller-effective-playback-rate-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/media/media-controller-playbackrate.html View 1 2 chunks +6 lines, -2 lines 0 comments Download
M LayoutTests/media/media-controller-playbackrate-expected.txt View 1 chunk +1 line, -0 lines 0 comments Download
A LayoutTests/media/seek-to-currentTime.html View 1 2 1 chunk +35 lines, -0 lines 0 comments Download
M Source/core/html/HTMLMediaElement.cpp View 2 chunks +4 lines, -20 lines 0 comments Download

Messages

Total messages: 14 (4 generated)
Srirama
PTAL
5 years, 4 months ago (2015-08-03 16:25:41 UTC) #2
philipj_slow
You can simplify the description to only talk about WebMediaPlayer.
5 years, 4 months ago (2015-08-04 11:07:10 UTC) #3
Srirama
On 2015/08/04 11:07:10, philipj wrote: > You can simplify the description to only talk about ...
5 years, 4 months ago (2015-08-04 11:11:50 UTC) #4
philipj_slow
LGTM % nits https://codereview.chromium.org/1267953003/diff/1/LayoutTests/media/media-controller-playbackrate.html File LayoutTests/media/media-controller-playbackrate.html (right): https://codereview.chromium.org/1267953003/diff/1/LayoutTests/media/media-controller-playbackrate.html#newcode7 LayoutTests/media/media-controller-playbackrate.html:7: var start = function() Please revert ...
5 years, 4 months ago (2015-08-04 11:16:47 UTC) #5
Srirama
https://codereview.chromium.org/1267953003/diff/1/LayoutTests/media/media-controller-playbackrate.html File LayoutTests/media/media-controller-playbackrate.html (right): https://codereview.chromium.org/1267953003/diff/1/LayoutTests/media/media-controller-playbackrate.html#newcode7 LayoutTests/media/media-controller-playbackrate.html:7: var start = function() On 2015/08/04 11:16:47, philipj wrote: ...
5 years, 4 months ago (2015-08-04 12:03:21 UTC) #7
philipj_slow
https://codereview.chromium.org/1267953003/diff/1/LayoutTests/media/video-seek-to-current-position.html File LayoutTests/media/video-seek-to-current-position.html (right): https://codereview.chromium.org/1267953003/diff/1/LayoutTests/media/video-seek-to-current-position.html#newcode4 LayoutTests/media/video-seek-to-current-position.html:4: <title>Test that seeking attribute is true immediately after a ...
5 years, 4 months ago (2015-08-04 13:04:45 UTC) #8
Srirama
One final review please before landing. https://codereview.chromium.org/1267953003/diff/1/LayoutTests/media/video-seek-to-current-position.html File LayoutTests/media/video-seek-to-current-position.html (right): https://codereview.chromium.org/1267953003/diff/1/LayoutTests/media/video-seek-to-current-position.html#newcode4 LayoutTests/media/video-seek-to-current-position.html:4: <title>Test that seeking ...
5 years, 4 months ago (2015-08-04 15:02:57 UTC) #10
philipj_slow
lgtm
5 years, 4 months ago (2015-08-04 15:07:28 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1267953003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1267953003/80001
5 years, 4 months ago (2015-08-04 15:07:44 UTC) #13
commit-bot: I haz the power
5 years, 4 months ago (2015-08-04 16:06:06 UTC) #14
Message was sent while issue was closed.
Committed patchset #3 (id:80001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=199977

Powered by Google App Engine
This is Rietveld 408576698