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

Issue 1601863002: Remove non-batching assumptions from SdkMediaCodecBridgeTest.DoNormal (Closed)

Created:
4 years, 11 months ago by kraush
Modified:
4 years, 11 months ago
Reviewers:
qinmin
CC:
chromium-reviews, posciak+watch_chromium.org, feature-media-reviews_chromium.org, avayvod+watch_chromium.org, mcasas+watch_chromium.org, mlamouri+watch-media_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove non-batching assumptions from SdkMediaCodecBridgeTest.DoNormal This change alters SdkMediaCodecBridgeTest.DoNormal in order to not have it assume that the AudioOutput will get dequeued in three batches. While this is the maximum number, some devices batch output (e.g. MT 8127 and MT 8135 chipsets), thus reducing the total number of dequeues required. Since we also know the expected size of the output, this test now also verifies the full expected output stream has been dequeued. BUG=578881 Committed: https://crrev.com/837de824489ed5d15ac4cd82580e396631d38eb6 Cr-Commit-Position: refs/heads/master@{#371965}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Removed incorrect (EXPECT_EQ) and redundant (ASSERT_LE) checks #

Patch Set 3 : Fixed clang build by using constants #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -4 lines) Patch
M media/base/android/sdk_media_codec_bridge_unittest.cc View 1 2 4 chunks +6 lines, -4 lines 0 comments Download

Messages

Total messages: 20 (7 generated)
kraush
Hi qinmin, Can you take a look at this proposed fix for https://crbug.com/578881 ? Thanks! ...
4 years, 11 months ago (2016-01-18 18:44:02 UTC) #3
qinmin
https://codereview.chromium.org/1601863002/diff/1/media/base/android/sdk_media_codec_bridge_unittest.cc File media/base/android/sdk_media_codec_bridge_unittest.cc (right): https://codereview.chromium.org/1601863002/diff/1/media/base/android/sdk_media_codec_bridge_unittest.cc#newcode211 media/base/android/sdk_media_codec_bridge_unittest.cc:211: EXPECT_EQ(++input_pts, timestamp.InMicroseconds()); should this also be removed? it is ...
4 years, 11 months ago (2016-01-19 00:57:49 UTC) #4
kraush
On 2016/01/19 00:57:49, qinmin wrote: > https://codereview.chromium.org/1601863002/diff/1/media/base/android/sdk_media_codec_bridge_unittest.cc > File media/base/android/sdk_media_codec_bridge_unittest.cc (right): > > https://codereview.chromium.org/1601863002/diff/1/media/base/android/sdk_media_codec_bridge_unittest.cc#newcode211 > ...
4 years, 11 months ago (2016-01-19 17:27:45 UTC) #5
kraush
New diff. I've removed the timestamp check as recommended, and also removed the redundant input_pts ...
4 years, 11 months ago (2016-01-19 17:33:58 UTC) #6
qinmin
lgtm
4 years, 11 months ago (2016-01-27 17:56:47 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1601863002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1601863002/20001
4 years, 11 months ago (2016-01-27 18:27:25 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg_recipe on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_clang_dbg_recipe/builds/13751)
4 years, 11 months ago (2016-01-27 18:46:16 UTC) #11
kraush
On 2016/01/27 18:46:16, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 11 months ago (2016-01-27 19:08:02 UTC) #12
kraush
Sorry for the failure on diff 2! I've fixed variable used and verified that it ...
4 years, 11 months ago (2016-01-27 19:17:08 UTC) #13
qinmin
lgtm
4 years, 11 months ago (2016-01-28 01:12:29 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1601863002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1601863002/40001
4 years, 11 months ago (2016-01-28 01:22:56 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 11 months ago (2016-01-28 02:14:49 UTC) #18
commit-bot: I haz the power
4 years, 11 months ago (2016-01-28 02:15:52 UTC) #20
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/837de824489ed5d15ac4cd82580e396631d38eb6
Cr-Commit-Position: refs/heads/master@{#371965}

Powered by Google App Engine
This is Rietveld 408576698