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

Issue 2502093002: Adjust VideoRendererAlgorithm for |frame_dropping_disabled_| (Closed)

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

Description

Adjust VideoRendererAlgorithm for |frame_dropping_disabled_| This makes video frame hashing in tests immune to timing variations that are inherent in the rendering algorithm. BUG=663709 TEST=media_unittests pass, new unit test VideoRendererAlgorithmTest.EffectiveFramesQueuedWithoutFrameDropping Committed: https://crrev.com/e1e43d3da2315557b19009165ea9c8a580d63eda Cr-Commit-Position: refs/heads/master@{#434350}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Use unrendered frame count as minimum effective frame count #

Patch Set 3 : CountEffectiveFramesQueued() can be const #

Total comments: 5

Patch Set 4 : Style fixes, new unit test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -8 lines) Patch
M media/filters/video_renderer_algorithm.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M media/filters/video_renderer_algorithm.cc View 1 2 3 3 chunks +22 lines, -8 lines 0 comments Download
M media/filters/video_renderer_algorithm_unittest.cc View 1 2 3 1 chunk +32 lines, -0 lines 0 comments Download

Messages

Total messages: 36 (14 generated)
wdzierzanowski
Dale, PTAL if this is what you had in mind.
4 years, 1 month ago (2016-11-15 21:57:46 UTC) #2
DaleCurtis
https://codereview.chromium.org/2502093002/diff/1/media/filters/video_renderer_algorithm.cc File media/filters/video_renderer_algorithm.cc (right): https://codereview.chromium.org/2502093002/diff/1/media/filters/video_renderer_algorithm.cc#newcode682 media/filters/video_renderer_algorithm.cc:682: // If frame dropping is disabled, only count as ...
4 years, 1 month ago (2016-11-15 22:42:21 UTC) #3
wdzierzanowski
https://codereview.chromium.org/2502093002/diff/1/media/filters/video_renderer_algorithm.cc File media/filters/video_renderer_algorithm.cc (right): https://codereview.chromium.org/2502093002/diff/1/media/filters/video_renderer_algorithm.cc#newcode682 media/filters/video_renderer_algorithm.cc:682: // If frame dropping is disabled, only count as ...
4 years, 1 month ago (2016-11-16 11:42:57 UTC) #4
DaleCurtis
Want to add a small unittest for this too? lgtm https://codereview.chromium.org/2502093002/diff/40001/media/filters/video_renderer_algorithm.cc File media/filters/video_renderer_algorithm.cc (right): https://codereview.chromium.org/2502093002/diff/40001/media/filters/video_renderer_algorithm.cc#newcode691 ...
4 years, 1 month ago (2016-11-16 22:03:44 UTC) #5
wdzierzanowski
On 2016/11/16 22:03:44, DaleCurtis wrote: > Want to add a small unittest for this too? ...
4 years ago (2016-11-23 09:53:52 UTC) #6
wdzierzanowski
https://codereview.chromium.org/2502093002/diff/40001/media/filters/video_renderer_algorithm.cc File media/filters/video_renderer_algorithm.cc (right): https://codereview.chromium.org/2502093002/diff/40001/media/filters/video_renderer_algorithm.cc#newcode691 media/filters/video_renderer_algorithm.cc:691: // If frame dropping is disabled, the lower bound ...
4 years ago (2016-11-23 09:54:06 UTC) #7
DaleCurtis
On 2016/11/23 at 09:53:52, wdzierzanowski wrote: > On 2016/11/16 22:03:44, DaleCurtis wrote: > > Want ...
4 years ago (2016-11-23 20:14:28 UTC) #8
wdzierzanowski
Alright, I'll leave it as it is then. Thanks for the hints and for reviewing!
4 years ago (2016-11-23 20:30:02 UTC) #10
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/2502093002/60001
4 years ago (2016-11-23 20:30:56 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/343718)
4 years ago (2016-11-24 00:44:49 UTC) #14
wdzierzanowski
The failure in "webgl_conformance_tests on NVIDIA GPU on Linux" seems unrelated. Retrying.
4 years ago (2016-11-24 08:01:23 UTC) #15
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/2502093002/60001
4 years ago (2016-11-24 08:02:35 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) linux_chromium_rel_ng on ...
4 years ago (2016-11-24 10:03:38 UTC) #19
wdzierzanowski
JOB_TIMED_OUT? Trying once more.
4 years ago (2016-11-24 10:06:45 UTC) #20
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/2502093002/60001
4 years ago (2016-11-24 10:07:17 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL)
4 years ago (2016-11-24 12:08:22 UTC) #24
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/2502093002/60001
4 years ago (2016-11-24 12:10:49 UTC) #26
wdzierzanowski
Turns out some CQ builders are having issues, https://groups.google.com/a/chromium.org/d/topic/chromium-dev/LjiTwXkVrUU/discussion
4 years ago (2016-11-24 14:02:21 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL)
4 years ago (2016-11-24 14:21:20 UTC) #29
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/2502093002/60001
4 years ago (2016-11-24 15:28:22 UTC) #31
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years ago (2016-11-24 16:47:35 UTC) #34
commit-bot: I haz the power
4 years ago (2016-11-24 16:50:09 UTC) #36
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/e1e43d3da2315557b19009165ea9c8a580d63eda
Cr-Commit-Position: refs/heads/master@{#434350}

Powered by Google App Engine
This is Rietveld 408576698