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

Issue 227523005: Fix the flaky MediaSourcePlayerTest (Closed)

Created:
6 years, 8 months ago by qinmin
Modified:
6 years, 8 months ago
Reviewers:
wolenetz
CC:
chromium-reviews, feature-media-reviews_chromium.org, avayvod+watch_chromium.org
Visibility:
Public.

Description

Fix the flaky MediaSourcePlayerTest If seek happens while requesting data for the inactive chunk, the ack for the data request will call OnDecodeCompleted(). However, the decoder job is waiting for the OnDecodeCompleted() from the active chunk. Tests:We already have seveal tests covering requesting inactive chunk during seek. This CL should fix the flakiness in there. BUG=361541 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=262934

Patch Set 1 #

Total comments: 2

Patch Set 2 : fix the comments #

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

Messages

Total messages: 8 (0 generated)
qinmin
PTAL
6 years, 8 months ago (2014-04-09 23:59:01 UTC) #1
wolenetz
https://codereview.chromium.org/227523005/diff/1/media/base/android/media_decoder_job.cc File media/base/android/media_decoder_job.cc (right): https://codereview.chromium.org/227523005/diff/1/media/base/android/media_decoder_job.cc#newcode76 media/base/android/media_decoder_job.cc:76: // If this data request is for the inactive ...
6 years, 8 months ago (2014-04-10 00:15:35 UTC) #2
qinmin
https://codereview.chromium.org/227523005/diff/1/media/base/android/media_decoder_job.cc File media/base/android/media_decoder_job.cc (right): https://codereview.chromium.org/227523005/diff/1/media/base/android/media_decoder_job.cc#newcode76 media/base/android/media_decoder_job.cc:76: // If this data request is for the inactive ...
6 years, 8 months ago (2014-04-10 00:19:36 UTC) #3
wolenetz
lgtm. Also, thanks for clarifying base::Closure().is_null() is true :)
6 years, 8 months ago (2014-04-10 00:57:45 UTC) #4
wolenetz
On 2014/04/10 00:57:45, wolenetz wrote: > lgtm. Also, thanks for clarifying base::Closure().is_null() is true :) ...
6 years, 8 months ago (2014-04-10 00:58:20 UTC) #5
qinmin
The CQ bit was checked by qinmin@chromium.org
6 years, 8 months ago (2014-04-10 00:59:11 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/qinmin@chromium.org/227523005/20001
6 years, 8 months ago (2014-04-10 01:00:11 UTC) #7
commit-bot: I haz the power
6 years, 8 months ago (2014-04-10 05:32:15 UTC) #8
Message was sent while issue was closed.
Change committed as 262934

Powered by Google App Engine
This is Rietveld 408576698