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

Issue 1027553002: Change the TimeSource interface to return wallclock time for video. (Closed)

Created:
5 years, 9 months ago by DaleCurtis
Modified:
5 years, 9 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org, scherkus (not reviewing), strobe
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Change the TimeSource interface to return wallclock time for video. Mostly a mechanical change, though it involves extending the estimation abilities of our TimeSource clients to provide estimates for times outside of the current media time range. BUG=110814, 439548 TEST=media_unittests still pass. Committed: https://crrev.com/5755042e9569648ce2d11e18e9d46834bc7395e4 Cr-Commit-Position: refs/heads/master@{#322459}

Patch Set 1 : Fix comment. #

Total comments: 27

Patch Set 2 : Comments. #

Patch Set 3 : Remove underflow changes. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+120 lines, -138 lines) Patch
M media/base/mock_filters.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M media/base/time_source.h View 1 1 chunk +10 lines, -10 lines 0 comments Download
M media/base/video_renderer.h View 1 3 chunks +5 lines, -4 lines 0 comments Download
M media/base/wall_clock_time_source.h View 1 1 chunk +1 line, -1 line 0 comments Download
M media/base/wall_clock_time_source.cc View 1 2 chunks +10 lines, -3 lines 0 comments Download
M media/filters/audio_clock.h View 1 chunk +0 lines, -7 lines 0 comments Download
M media/filters/audio_clock.cc View 1 chunk +0 lines, -9 lines 0 comments Download
M media/filters/audio_clock_unittest.cc View 3 chunks +0 lines, -54 lines 0 comments Download
M media/renderers/audio_renderer_impl.h View 1 1 chunk +1 line, -1 line 0 comments Download
M media/renderers/audio_renderer_impl.cc View 1 1 chunk +19 lines, -7 lines 0 comments Download
M media/renderers/renderer_impl.h View 1 1 chunk +1 line, -1 line 0 comments Download
M media/renderers/renderer_impl.cc View 1 2 2 chunks +4 lines, -5 lines 0 comments Download
M media/renderers/video_renderer_impl.h View 1 5 chunks +13 lines, -8 lines 0 comments Download
M media/renderers/video_renderer_impl.cc View 1 2 13 chunks +36 lines, -22 lines 0 comments Download
M media/renderers/video_renderer_impl_unittest.cc View 1 2 7 chunks +18 lines, -4 lines 0 comments Download

Messages

Total messages: 17 (6 generated)
DaleCurtis
PTAL. This is a step towards improving our video rendering path based on vsync deadlines. ...
5 years, 9 months ago (2015-03-19 23:10:11 UTC) #3
xhwang
On 2015/03/19 23:10:11, DaleCurtis wrote: > PTAL. This is a step towards improving our video ...
5 years, 9 months ago (2015-03-21 00:26:15 UTC) #4
scherkus (not reviewing)
FWIW this was exactly what I had prototyped (different function names of course) and was ...
5 years, 9 months ago (2015-03-23 20:40:53 UTC) #6
xhwang
I like the main idea of this CL. I just have a couple of questions ...
5 years, 9 months ago (2015-03-23 22:20:14 UTC) #7
DaleCurtis
cc: strobe regarding his query on when we declare HAVE_NOTHING yesterday. https://codereview.chromium.org/1027553002/diff/20001/media/base/time_source.h File media/base/time_source.h (right): ...
5 years, 9 months ago (2015-03-25 00:31:45 UTC) #8
xhwang
lgtm % comments https://codereview.chromium.org/1027553002/diff/20001/media/base/wall_clock_time_source.cc File media/base/wall_clock_time_source.cc (right): https://codereview.chromium.org/1027553002/diff/20001/media/base/wall_clock_time_source.cc#newcode67 media/base/wall_clock_time_source.cc:67: if (!ticking_ || playback_rate_ == 0.0 ...
5 years, 9 months ago (2015-03-25 04:10:50 UTC) #9
DaleCurtis
PTAL, thanks! https://codereview.chromium.org/1027553002/diff/20001/media/renderers/renderer_impl.cc File media/renderers/renderer_impl.cc (right): https://codereview.chromium.org/1027553002/diff/20001/media/renderers/renderer_impl.cc#newcode465 media/renderers/renderer_impl.cc:465: } On 2015/03/25 04:10:50, xhwang wrote: > ...
5 years, 9 months ago (2015-03-26 18:32:56 UTC) #12
xhwang
lgtm
5 years, 9 months ago (2015-03-26 19:24:00 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1027553002/100001
5 years, 9 months ago (2015-03-26 19:34:23 UTC) #15
commit-bot: I haz the power
Committed patchset #3 (id:100001)
5 years, 9 months ago (2015-03-26 20:31:35 UTC) #16
commit-bot: I haz the power
5 years, 9 months ago (2015-03-26 20:32:18 UTC) #17
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/5755042e9569648ce2d11e18e9d46834bc7395e4
Cr-Commit-Position: refs/heads/master@{#322459}

Powered by Google App Engine
This is Rietveld 408576698