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

Issue 1305273007: Don't short-circuit MSE seeks in WebMediaPlayer impls (Closed)

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

Description

Don't short-circuit MSE seeks in WebMediaPlayer impls Underlying buffers might have been removed or replaced by different buffers since they were fed to preroll decoders, so we must not always make MSE seeks to the same time as an in-progress seek (WMPI and WMPA) or the current pause time (WMPI) no-ops. Later refactoring might re-introduce short-circuiting (with asynch completion signalling), but conditionally if nothing in SourceBufferStream has changed since the last seek. This change is kept small to fix the functional issue while increasing merge-ability. BUG=526337, 399523, 303419, 284782, 266631 R=chcunningham@chromium.org,sandersd@chromium.org,qinmin@chromium.org Committed: https://crrev.com/a609797f7b3e68f1214b983b846a1d457385098a Cr-Commit-Position: refs/heads/master@{#346575}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Prevent suppression of redundant in-progress MSE seeks too #

Patch Set 3 : Fix build for Android #

Patch Set 4 : Fix a further build issue for Android #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -18 lines) Patch
M content/renderer/media/android/webmediaplayer_android.cc View 1 2 3 2 chunks +8 lines, -7 lines 0 comments Download
M media/blink/webmediaplayer_impl.cc View 1 2 chunks +16 lines, -11 lines 0 comments Download

Messages

Total messages: 32 (11 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1305273007/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1305273007/1
5 years, 3 months ago (2015-08-31 21:01:31 UTC) #2
wolenetz
Per our chat offline, please take a look at patch set 1: sandersd@: committer, everything ...
5 years, 3 months ago (2015-08-31 21:02:00 UTC) #3
wolenetz
Per chat w/sandersd@ just now: https://codereview.chromium.org/1305273007/diff/1/media/blink/webmediaplayer_impl.cc File media/blink/webmediaplayer_impl.cc (right): https://codereview.chromium.org/1305273007/diff/1/media/blink/webmediaplayer_impl.cc#newcode306 media/blink/webmediaplayer_impl.cc:306: if (!pending_seek_) { This ...
5 years, 3 months ago (2015-08-31 21:15:31 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 3 months ago (2015-08-31 21:53:43 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1305273007/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1305273007/20001
5 years, 3 months ago (2015-08-31 22:15:29 UTC) #8
wolenetz
Please take a look at patch set 2: qinmin@: c/r/m/android/* OWNER and committer sandersd@: m/blink/* ...
5 years, 3 months ago (2015-08-31 22:19:11 UTC) #9
sandersd (OOO until July 31)
lgtm
5 years, 3 months ago (2015-08-31 22:27:46 UTC) #10
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_compile_dbg on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_compile_dbg/builds/54635)
5 years, 3 months ago (2015-08-31 22:34:30 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1305273007/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1305273007/40001
5 years, 3 months ago (2015-08-31 22:44:39 UTC) #14
wolenetz
Thanks Dan. qinmin@, chcunningham@: Patch set 3 contains a (hopeful) fix for compile on Android ...
5 years, 3 months ago (2015-08-31 22:45:30 UTC) #15
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/63036)
5 years, 3 months ago (2015-08-31 23:02:11 UTC) #17
qinmin
lgtm
5 years, 3 months ago (2015-08-31 23:08:01 UTC) #19
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1305273007/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1305273007/60001
5 years, 3 months ago (2015-08-31 23:08:25 UTC) #21
wolenetz
Thanks Min. chcunningham@, please take a look at patch set 4 (which contains yet another ...
5 years, 3 months ago (2015-08-31 23:10:49 UTC) #22
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/106111)
5 years, 3 months ago (2015-08-31 23:40:16 UTC) #24
chcunningham
lgtm
5 years, 3 months ago (2015-08-31 23:45:20 UTC) #25
wolenetz
Thanks for reviews. I'll land this via CQ once the Blink-side change to mediasource-duration layout ...
5 years, 3 months ago (2015-08-31 23:47:59 UTC) #26
wolenetz
On 2015/08/31 23:47:59, wolenetz wrote: > Thanks for reviews. I'll land this via CQ once ...
5 years, 3 months ago (2015-08-31 23:48:18 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1305273007/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1305273007/60001
5 years, 3 months ago (2015-09-01 05:01:57 UTC) #30
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 3 months ago (2015-09-01 05:38:03 UTC) #31
commit-bot: I haz the power
5 years, 3 months ago (2015-09-01 05:38:46 UTC) #32
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/a609797f7b3e68f1214b983b846a1d457385098a
Cr-Commit-Position: refs/heads/master@{#346575}

Powered by Google App Engine
This is Rietveld 408576698