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

Issue 942693003: veatest: fix keyframe verification test. (Closed)

Created:
5 years, 10 months ago by Pawel Osciak
Modified:
5 years, 10 months ago
CC:
chromium-reviews, posciak+watch_chromium.org, jam, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org, wjia+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

veatest: fix keyframe verification test. The test was not resilient against arbitrary pipeline depths and encode delays. It was possible for the encode request to keep overwriting keframe_requested_at_ faster than the deadline check by which we would've failed if no keyframe was provided. Thus it was possible for the test to always pass, even without getting any keyframes. Simplify this by just checking that each keyframe arrives before every keyframe_period_ + kMaxKeyframeDelay. Also, some cleanup for fake encoder validator creation. BUG=None TEST=veatest --gtest_filter=ForceKeyframes* Committed: https://crrev.com/4fc28962e2da8b3f278b952c55fefe10487db952 Cr-Commit-Position: refs/heads/master@{#317367}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -21 lines) Patch
M content/common/gpu/media/video_encode_accelerator_unittest.cc View 9 chunks +33 lines, -21 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
Pawel Osciak
ptal
5 years, 10 months ago (2015-02-20 10:44:24 UTC) #2
scherkus (not reviewing)
lgtm
5 years, 10 months ago (2015-02-20 17:48:51 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/942693003/1
5 years, 10 months ago (2015-02-20 19:01:55 UTC) #5
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 10 months ago (2015-02-20 19:23:29 UTC) #6
commit-bot: I haz the power
5 years, 10 months ago (2015-02-20 19:24:04 UTC) #7
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/4fc28962e2da8b3f278b952c55fefe10487db952
Cr-Commit-Position: refs/heads/master@{#317367}

Powered by Google App Engine
This is Rietveld 408576698