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

Issue 2239243002: Interpolate media time for mojo rendering pipeline. (Closed)

Created:
4 years, 4 months ago by alokp
Modified:
4 years, 3 months ago
CC:
Aaron Boodman, abarth-chromium, alokp+watch_chromium.org, ben+mojo_chromium.org, chromium-reviews, darin (slow to review), feature-media-reviews_chromium.org, halliwell+watch_chromium.org, lcwu+watch_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Interpolate media time for mojo rendering pipeline. BUG=616959 TEST=MojoRendererTest.GetMediaTime Committed: https://crrev.com/a452e2357b4cbd498bb728fb7b5f4006123d111d Cr-Commit-Position: refs/heads/master@{#417754}

Patch Set 1 #

Patch Set 2 : share code #

Patch Set 3 : fix compile errors #

Patch Set 4 : fix media_mojo_shell_unittests #

Patch Set 5 : fixes typo #

Patch Set 6 : another typo #

Patch Set 7 : rebase #

Patch Set 8 : fixed WebMediaPlayerAndroid #

Patch Set 9 : rebase #

Patch Set 10 : rebase #

Patch Set 11 : updates unittest #

Patch Set 12 : rebase #

Total comments: 18

Patch Set 13 : rebase #

Patch Set 14 : addressed comments #

Patch Set 15 : fixes a bug in unittest #

Patch Set 16 : rebase #

Patch Set 17 : prevents media time from going backwards #

Total comments: 3

Patch Set 18 : moves media-time clamping to PipelineImpl #

Unified diffs Side-by-side diffs Delta from patch set Stats (+171 lines, -78 lines) Patch
M content/renderer/media/android/webmediaplayer_android.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 4 chunks +7 lines, -4 lines 0 comments Download
M media/base/android/media_source_player.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +6 lines, -6 lines 0 comments Download
M media/base/pipeline_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +4 lines, -0 lines 0 comments Download
M media/base/pipeline_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 4 chunks +21 lines, -1 line 0 comments Download
M media/base/pipeline_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +20 lines, -0 lines 0 comments Download
M media/base/time_delta_interpolator.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +3 lines, -1 line 0 comments Download
M media/base/time_delta_interpolator.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +3 lines, -2 lines 0 comments Download
M media/base/time_delta_interpolator_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +6 lines, -3 lines 0 comments Download
M media/mojo/clients/mojo_renderer.h View 1 2 3 4 5 6 17 3 chunks +8 lines, -3 lines 0 comments Download
M media/mojo/clients/mojo_renderer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 4 chunks +24 lines, -10 lines 0 comments Download
M media/mojo/clients/mojo_renderer_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +42 lines, -9 lines 0 comments Download
M media/mojo/interfaces/renderer.mojom View 1 2 3 4 5 6 1 chunk +3 lines, -1 line 0 comments Download
M media/mojo/services/media_mojo_unittest.cc View 1 2 3 4 5 6 1 chunk +4 lines, -2 lines 0 comments Download
M media/mojo/services/mojo_renderer_service.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +4 lines, -2 lines 0 comments Download
M media/mojo/services/mojo_renderer_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +13 lines, -5 lines 0 comments Download
M media/renderers/audio_renderer_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +0 lines, -4 lines 0 comments Download
M media/renderers/audio_renderer_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +0 lines, -15 lines 0 comments Download
M media/renderers/audio_renderer_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +3 lines, -10 lines 0 comments Download

Messages

Total messages: 54 (36 generated)
alokp
https://codereview.chromium.org/2239243002/diff/220001/media/base/time_delta_interpolator.h File media/base/time_delta_interpolator.h (right): https://codereview.chromium.org/2239243002/diff/220001/media/base/time_delta_interpolator.h#newcode54 media/base/time_delta_interpolator.h:54: base::TimeTicks capture_time); Added to avoid calling TimeTicks::Now multiple times ...
4 years, 3 months ago (2016-09-02 22:51:18 UTC) #31
DaleCurtis
lgtm https://codereview.chromium.org/2239243002/diff/220001/media/mojo/clients/mojo_renderer_unittest.cc File media/mojo/clients/mojo_renderer_unittest.cc (right): https://codereview.chromium.org/2239243002/diff/220001/media/mojo/clients/mojo_renderer_unittest.cc#newcode48 media/mojo/clients/mojo_renderer_unittest.cc:48: void WaitFor(base::TimeDelta duration) { Does RunLoop().RunUntilIdle() not suffice? ...
4 years, 3 months ago (2016-09-06 19:21:25 UTC) #32
alokp
https://codereview.chromium.org/2239243002/diff/220001/media/mojo/clients/mojo_renderer_unittest.cc File media/mojo/clients/mojo_renderer_unittest.cc (right): https://codereview.chromium.org/2239243002/diff/220001/media/mojo/clients/mojo_renderer_unittest.cc#newcode48 media/mojo/clients/mojo_renderer_unittest.cc:48: void WaitFor(base::TimeDelta duration) { On 2016/09/06 19:21:25, DaleCurtis wrote: ...
4 years, 3 months ago (2016-09-07 16:46:22 UTC) #33
alokp
tsepez@: renderer.mojom
4 years, 3 months ago (2016-09-07 18:09:49 UTC) #35
Tom Sepez
mojom LGTM
4 years, 3 months ago (2016-09-07 20:53:54 UTC) #36
DaleCurtis
https://codereview.chromium.org/2239243002/diff/220001/media/mojo/services/mojo_renderer_service.cc File media/mojo/services/mojo_renderer_service.cc (right): https://codereview.chromium.org/2239243002/diff/220001/media/mojo/services/mojo_renderer_service.cc#newcode200 media/mojo/services/mojo_renderer_service.cc:200: max_time += base::TimeDelta::FromMilliseconds(2 * kTimeUpdateIntervalMs); On 2016/09/07 at 16:46:21, ...
4 years, 3 months ago (2016-09-08 16:58:23 UTC) #37
alokp
https://codereview.chromium.org/2239243002/diff/220001/media/mojo/services/mojo_renderer_service.cc File media/mojo/services/mojo_renderer_service.cc (right): https://codereview.chromium.org/2239243002/diff/220001/media/mojo/services/mojo_renderer_service.cc#newcode200 media/mojo/services/mojo_renderer_service.cc:200: max_time += base::TimeDelta::FromMilliseconds(2 * kTimeUpdateIntervalMs); On 2016/09/08 16:58:23, DaleCurtis ...
4 years, 3 months ago (2016-09-08 17:01:42 UTC) #38
DaleCurtis
https://codereview.chromium.org/2239243002/diff/220001/media/mojo/services/mojo_renderer_service.cc File media/mojo/services/mojo_renderer_service.cc (right): https://codereview.chromium.org/2239243002/diff/220001/media/mojo/services/mojo_renderer_service.cc#newcode200 media/mojo/services/mojo_renderer_service.cc:200: max_time += base::TimeDelta::FromMilliseconds(2 * kTimeUpdateIntervalMs); On 2016/09/08 at 17:01:42, ...
4 years, 3 months ago (2016-09-08 17:09:01 UTC) #39
alokp
https://codereview.chromium.org/2239243002/diff/220001/media/mojo/services/mojo_renderer_service.cc File media/mojo/services/mojo_renderer_service.cc (right): https://codereview.chromium.org/2239243002/diff/220001/media/mojo/services/mojo_renderer_service.cc#newcode200 media/mojo/services/mojo_renderer_service.cc:200: max_time += base::TimeDelta::FromMilliseconds(2 * kTimeUpdateIntervalMs); On 2016/09/08 17:09:01, DaleCurtis ...
4 years, 3 months ago (2016-09-08 17:36:28 UTC) #40
alokp
https://codereview.chromium.org/2239243002/diff/320001/media/mojo/clients/mojo_renderer.cc File media/mojo/clients/mojo_renderer.cc (right): https://codereview.chromium.org/2239243002/diff/320001/media/mojo/clients/mojo_renderer.cc#newcode222 media/mojo/clients/mojo_renderer.cc:222: DVLOG(2) << __func__ << ": actual=" << media_time We ...
4 years, 3 months ago (2016-09-08 17:37:52 UTC) #41
DaleCurtis
https://codereview.chromium.org/2239243002/diff/320001/media/mojo/clients/mojo_renderer.cc File media/mojo/clients/mojo_renderer.cc (right): https://codereview.chromium.org/2239243002/diff/320001/media/mojo/clients/mojo_renderer.cc#newcode222 media/mojo/clients/mojo_renderer.cc:222: DVLOG(2) << __func__ << ": actual=" << media_time On ...
4 years, 3 months ago (2016-09-08 17:45:29 UTC) #42
alokp
https://codereview.chromium.org/2239243002/diff/320001/media/mojo/clients/mojo_renderer.cc File media/mojo/clients/mojo_renderer.cc (right): https://codereview.chromium.org/2239243002/diff/320001/media/mojo/clients/mojo_renderer.cc#newcode222 media/mojo/clients/mojo_renderer.cc:222: DVLOG(2) << __func__ << ": actual=" << media_time On ...
4 years, 3 months ago (2016-09-08 19:30:50 UTC) #43
DaleCurtis
lgtm
4 years, 3 months ago (2016-09-09 17:42:22 UTC) #44
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/2239243002/340001
4 years, 3 months ago (2016-09-09 17:43:40 UTC) #47
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/290699)
4 years, 3 months ago (2016-09-09 21:30:00 UTC) #49
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/2239243002/340001
4 years, 3 months ago (2016-09-09 21:52:02 UTC) #51
commit-bot: I haz the power
Committed patchset #18 (id:340001)
4 years, 3 months ago (2016-09-09 23:15:59 UTC) #52
commit-bot: I haz the power
4 years, 3 months ago (2016-09-09 23:18:30 UTC) #54
Message was sent while issue was closed.
Patchset 18 (id:??) landed as
https://crrev.com/a452e2357b4cbd498bb728fb7b5f4006123d111d
Cr-Commit-Position: refs/heads/master@{#417754}

Powered by Google App Engine
This is Rietveld 408576698