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

Issue 159573: Nice and easy fix for the media clock interpolating past the duration. (Closed)

Created:
11 years, 4 months ago by scherkus (not reviewing)
Modified:
9 years, 7 months ago
Reviewers:
awong
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Nice and easy fix for the media clock interpolating past the duration. I considered adding duration to Clock itself, but that felt like it would pollute Clock's simple purposes of keeping track of time. Furthermore, by keeping duration checking in PipelineImpl we can handle future scenarios such as streaming media where clock really should run forever. BUG=16508 TEST=currentTime should never exceed duration Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=21937

Patch Set 1 #

Patch Set 2 : Typos #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -8 lines) Patch
M media/base/mock_filters.h View 1 1 chunk +6 lines, -0 lines 0 comments Download
M media/base/pipeline_impl.cc View 1 chunk +5 lines, -1 line 0 comments Download
M media/base/pipeline_impl_unittest.cc View 6 chunks +9 lines, -7 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
scherkus (not reviewing)
11 years, 4 months ago (2009-07-29 02:03:15 UTC) #1
awong
11 years, 4 months ago (2009-07-29 02:11:20 UTC) #2
LGTM

Powered by Google App Engine
This is Rietveld 408576698