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

Issue 787373008: Pass seek event through pipeline during loading state (Closed)

Created:
5 years, 12 months ago by Srirama
Modified:
5 years, 11 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Pass seek event through pipeline during loading state When try to land https://codereviougew.chromium.org/456343002/ the test controls-restrained-media-controller.html is failing sometimes as the frame is not ready before the canplay event. Reason being canplay event is fired before VideoFrameCompositor::UpdateCurrentFrame if the seek event is not passed to pipeline during loading state. Also removed OnPipelineSeeked which is redundant now. Required for landing https://codereview.chromium.org/456343002/ Committed: https://crrev.com/ccf67181d8ccd356d86019b6768e5a9096956fbf Cr-Commit-Position: refs/heads/master@{#310483}

Patch Set 1 #

Patch Set 2 : Modified to check for buffering state #

Total comments: 1

Patch Set 3 : Removed OnPipelineSeeked as it is redundant #

Total comments: 1

Patch Set 4 : updated comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -7 lines) Patch
M media/blink/webmediaplayer_impl.cc View 1 2 3 2 chunks +5 lines, -7 lines 0 comments Download

Messages

Total messages: 22 (10 generated)
Srirama
Investigated further on why frame is not ready during controls-restrained-media-controller.html test. Sometimes the canplay event ...
5 years, 12 months ago (2014-12-26 11:23:25 UTC) #2
DaleCurtis
This doesn't look right. Can you instead just perform the seek if the state isn't ...
5 years, 11 months ago (2015-01-05 19:13:06 UTC) #7
Srirama
On 2015/01/05 19:13:06, DaleCurtis wrote: > This doesn't look right. Can you instead just perform ...
5 years, 11 months ago (2015-01-06 13:33:07 UTC) #8
DaleCurtis
https://codereview.chromium.org/787373008/diff/100001/media/blink/webmediaplayer_impl.cc File media/blink/webmediaplayer_impl.cc (right): https://codereview.chromium.org/787373008/diff/100001/media/blink/webmediaplayer_impl.cc#newcode334 media/blink/webmediaplayer_impl.cc:334: if (paused_time_ != seek_time || old_state != ReadyStateHaveEnoughData) { ...
5 years, 11 months ago (2015-01-06 19:18:55 UTC) #9
Srirama
On 2015/01/06 19:18:55, DaleCurtis wrote: > https://codereview.chromium.org/787373008/diff/100001/media/blink/webmediaplayer_impl.cc > File media/blink/webmediaplayer_impl.cc (right): > > https://codereview.chromium.org/787373008/diff/100001/media/blink/webmediaplayer_impl.cc#newcode334 > ...
5 years, 11 months ago (2015-01-07 06:46:00 UTC) #10
Dale Curtis
lgtm % comment update. https://codereview.chromium.org/787373008/diff/120001/media/blink/webmediaplayer_impl.cc File media/blink/webmediaplayer_impl.cc (right): https://codereview.chromium.org/787373008/diff/120001/media/blink/webmediaplayer_impl.cc#newcode330 media/blink/webmediaplayer_impl.cc:330: // In paused state ignore ...
5 years, 11 months ago (2015-01-07 19:23:15 UTC) #12
DaleCurtis
(from the right account) lgtm
5 years, 11 months ago (2015-01-07 20:43:53 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/787373008/140001
5 years, 11 months ago (2015-01-08 05:32:42 UTC) #16
commit-bot: I haz the power
Exceeded time limit waiting for builds to trigger.
5 years, 11 months ago (2015-01-08 07:34:12 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/787373008/140001
5 years, 11 months ago (2015-01-08 10:54:10 UTC) #20
commit-bot: I haz the power
Committed patchset #4 (id:140001)
5 years, 11 months ago (2015-01-08 11:59:42 UTC) #21
commit-bot: I haz the power
5 years, 11 months ago (2015-01-08 12:00:36 UTC) #22
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/ccf67181d8ccd356d86019b6768e5a9096956fbf
Cr-Commit-Position: refs/heads/master@{#310483}

Powered by Google App Engine
This is Rietveld 408576698