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

Issue 2452523004: Always count rendered frames; fixes drop flakiness. (Closed)

Created:
4 years, 1 month ago by DaleCurtis
Modified:
4 years, 1 month ago
Reviewers:
xhwang
CC:
chromium-reviews, feature-media-reviews_chromium.org, mcasas+watch+vc_chromium.org, posciak+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Always count rendered frames; fixes drop flakiness. Not adding to the render count when a frame is rendered just makes handling dropped frames tricky and flaky. Instead the only thing we really care about is not carrying forward overage to the next frame after rendering starts (or restarts). BUG=656231 TEST=new unittest. Committed: https://crrev.com/71bec519151a602e5a9334d420c12b1f3f9301f1 Cr-Commit-Position: refs/heads/master@{#428267}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Update comments. #

Patch Set 3 : Revert zero-check from OnLastFrameDropped(). Add test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+124 lines, -46 lines) Patch
M chrome/browser/media/encrypted_media_browsertest.cc View 1 2 1 chunk +1 line, -7 lines 0 comments Download
M media/filters/video_renderer_algorithm.cc View 1 2 3 chunks +33 lines, -35 lines 0 comments Download
M media/filters/video_renderer_algorithm_unittest.cc View 1 2 5 chunks +90 lines, -4 lines 0 comments Download

Messages

Total messages: 19 (9 generated)
DaleCurtis
4 years, 1 month ago (2016-10-26 19:35:46 UTC) #2
xhwang
LGTM with a question in the test. https://codereview.chromium.org/2452523004/diff/1/media/filters/video_renderer_algorithm.cc File media/filters/video_renderer_algorithm.cc (right): https://codereview.chromium.org/2452523004/diff/1/media/filters/video_renderer_algorithm.cc#newcode81 media/filters/video_renderer_algorithm.cc:81: // If ...
4 years, 1 month ago (2016-10-27 21:25:56 UTC) #3
DaleCurtis
https://codereview.chromium.org/2452523004/diff/1/media/filters/video_renderer_algorithm.cc File media/filters/video_renderer_algorithm.cc (right): https://codereview.chromium.org/2452523004/diff/1/media/filters/video_renderer_algorithm.cc#newcode81 media/filters/video_renderer_algorithm.cc:81: // If time stops, we should recent the first_frame_ ...
4 years, 1 month ago (2016-10-27 21:56:52 UTC) #5
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/2452523004/20001
4 years, 1 month ago (2016-10-27 21:57:54 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/324112)
4 years, 1 month ago (2016-10-27 23:37:42 UTC) #9
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/2452523004/40001
4 years, 1 month ago (2016-10-28 00:06:13 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/169693)
4 years, 1 month ago (2016-10-28 01:28:26 UTC) #14
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/2452523004/40001
4 years, 1 month ago (2016-10-28 02:43:02 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 1 month ago (2016-10-28 03:17:56 UTC) #17
commit-bot: I haz the power
4 years, 1 month ago (2016-10-28 03:26:24 UTC) #19
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/71bec519151a602e5a9334d420c12b1f3f9301f1
Cr-Commit-Position: refs/heads/master@{#428267}

Powered by Google App Engine
This is Rietveld 408576698