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

Issue 1124333012: Don't carry over frame overage unless frame is selected by cadence. (Closed)

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

Description

Don't carry over frame overage unless frame is selected by cadence. The overage values should only be applied if the frame is actually chosen by cadence. This is most wrong when there is video at some non zero time and audio at time zero. If cadence is present the first frame will have an obscene display count which carries over and forever wrecks cadence :( We should also not track render counts until the first frame has reached its display period. BUG=439548 TEST=new unittest Committed: https://crrev.com/0080f370f5b84d094195ebd7e9fb7052524468b8 Cr-Commit-Position: refs/heads/master@{#329423}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Clarify. Cleanup test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -31 lines) Patch
M media/filters/video_renderer_algorithm.h View 2 chunks +9 lines, -10 lines 0 comments Download
M media/filters/video_renderer_algorithm.cc View 1 7 chunks +27 lines, -21 lines 0 comments Download
M media/filters/video_renderer_algorithm_unittest.cc View 1 1 chunk +47 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
DaleCurtis
Found while trying to implement 3:2 cadence :)
5 years, 7 months ago (2015-05-12 04:26:49 UTC) #2
miu
https://codereview.chromium.org/1124333012/diff/1/media/filters/video_renderer_algorithm.cc File media/filters/video_renderer_algorithm.cc (right): https://codereview.chromium.org/1124333012/diff/1/media/filters/video_renderer_algorithm.cc#newcode214 media/filters/video_renderer_algorithm.cc:214: deadline_min - frame_queue_.front().start_time >= render_interval_ / -2) { Two ...
5 years, 7 months ago (2015-05-12 04:49:47 UTC) #3
DaleCurtis
https://codereview.chromium.org/1124333012/diff/1/media/filters/video_renderer_algorithm.cc File media/filters/video_renderer_algorithm.cc (right): https://codereview.chromium.org/1124333012/diff/1/media/filters/video_renderer_algorithm.cc#newcode214 media/filters/video_renderer_algorithm.cc:214: deadline_min - frame_queue_.front().start_time >= render_interval_ / -2) { On ...
5 years, 7 months ago (2015-05-12 06:13:20 UTC) #4
miu
lgtm
5 years, 7 months ago (2015-05-12 08:16:55 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1124333012/20001
5 years, 7 months ago (2015-05-12 15:34:11 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 7 months ago (2015-05-12 16:57:26 UTC) #8
commit-bot: I haz the power
5 years, 7 months ago (2015-05-12 16:58:18 UTC) #9
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/0080f370f5b84d094195ebd7e9fb7052524468b8
Cr-Commit-Position: refs/heads/master@{#329423}

Powered by Google App Engine
This is Rietveld 408576698