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

Issue 2570013003: Fix underflow correction occurring during normal rendering. (Closed)

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

Description

Fix underflow correction occurring during normal rendering. We should not be trying to expire frames during the normal rendering process. This corrects a conditional which was incorrectly allowing this behavior and fixes the test which were relying on this behavior. Testing the inverse (i.e. what was broken) is not in this CL, since I ran out of time to add it for now. Notably, I wasn't able to reproduce any issues arising from this mistake. In practice, Render() occurs with such frequency that it's rare for FrameReady() to occur fast enough to out pace it in a meaningful manner relative to the frame duration. BUG=667704 TEST=updated unittests. Committed: https://crrev.com/8ac9ef71a561a281bd867e23fcd31e129373ab37 Cr-Commit-Position: refs/heads/master@{#438596}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -34 lines) Patch
M media/renderers/video_renderer_impl.h View 1 chunk +3 lines, -0 lines 0 comments Download
M media/renderers/video_renderer_impl.cc View 3 chunks +16 lines, -15 lines 0 comments Download
M media/renderers/video_renderer_impl_unittest.cc View 2 chunks +17 lines, -19 lines 0 comments Download

Messages

Total messages: 15 (9 generated)
DaleCurtis
4 years ago (2016-12-14 01:06:38 UTC) #2
watk
It certainly looks right, though I think wdzierzanowski is in a better position to find ...
4 years ago (2016-12-14 01:25:37 UTC) #3
DaleCurtis
wdzierzanowski@ approved on the bug, so I assume he meant to approve here.
4 years ago (2016-12-14 19:31:16 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/2570013003/1
4 years ago (2016-12-14 19:32:44 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years ago (2016-12-14 19:39:45 UTC) #13
commit-bot: I haz the power
4 years ago (2016-12-14 19:42:21 UTC) #15
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/8ac9ef71a561a281bd867e23fcd31e129373ab37
Cr-Commit-Position: refs/heads/master@{#438596}

Powered by Google App Engine
This is Rietveld 408576698