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

Issue 2269313002: Fix DCHECK when track status changes in non-playing state (Closed)

Created:
4 years, 4 months ago by servolk
Modified:
4 years, 3 months ago
Reviewers:
chcunningham, whywhat
CC:
chromium-reviews, feature-media-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix DCHECK when track status changes in non-playing state We are only accessing shared_state_.renderer in kPlaying state. BUG=640362 Committed: https://crrev.com/5f450aa795c85f615ccaed457f3114c487df7ac4 Cr-Commit-Position: refs/heads/master@{#416131}

Patch Set 1 #

Patch Set 2 : Fixed one more DCHECK + added a unit test #

Total comments: 5

Patch Set 3 : Added a unit test for track changes in suspended state #

Unified diffs Side-by-side diffs Delta from patch set Stats (+67 lines, -5 lines) Patch
M media/base/pipeline_impl.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M media/renderers/renderer_impl.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M media/test/pipeline_integration_test.cc View 1 2 4 chunks +64 lines, -2 lines 0 comments Download

Messages

Total messages: 31 (19 generated)
servolk
4 years, 4 months ago (2016-08-23 22:24:08 UTC) #5
whywhat
lgtm
4 years, 4 months ago (2016-08-24 18:30:27 UTC) #13
chcunningham
https://codereview.chromium.org/2269313002/diff/20001/media/renderers/renderer_impl.cc File media/renderers/renderer_impl.cc (right): https://codereview.chromium.org/2269313002/diff/20001/media/renderers/renderer_impl.cc#newcode232 media/renderers/renderer_impl.cc:232: if ((state_ != STATE_PLAYING) || (audio_ended_ && video_ended_)) This ...
4 years, 4 months ago (2016-08-24 22:16:53 UTC) #14
servolk
https://codereview.chromium.org/2269313002/diff/20001/media/renderers/renderer_impl.cc File media/renderers/renderer_impl.cc (right): https://codereview.chromium.org/2269313002/diff/20001/media/renderers/renderer_impl.cc#newcode232 media/renderers/renderer_impl.cc:232: if ((state_ != STATE_PLAYING) || (audio_ended_ && video_ended_)) On ...
4 years, 4 months ago (2016-08-24 22:46:32 UTC) #15
chcunningham
https://codereview.chromium.org/2269313002/diff/20001/media/test/pipeline_integration_test.cc File media/test/pipeline_integration_test.cc (right): https://codereview.chromium.org/2269313002/diff/20001/media/test/pipeline_integration_test.cc#newcode1027 media/test/pipeline_integration_test.cc:1027: ASSERT_TRUE(WaitUntilOnEnded()); I don't think this transition to stopped is ...
4 years, 3 months ago (2016-08-25 20:45:54 UTC) #16
servolk
On 2016/08/25 20:45:54, chcunningham wrote: > https://codereview.chromium.org/2269313002/diff/20001/media/test/pipeline_integration_test.cc > File media/test/pipeline_integration_test.cc (right): > > https://codereview.chromium.org/2269313002/diff/20001/media/test/pipeline_integration_test.cc#newcode1027 > ...
4 years, 3 months ago (2016-08-29 17:44:41 UTC) #17
servolk
On 2016/08/29 17:44:41, servolk wrote: > On 2016/08/25 20:45:54, chcunningham wrote: > > > https://codereview.chromium.org/2269313002/diff/20001/media/test/pipeline_integration_test.cc ...
4 years, 3 months ago (2016-08-30 18:52:02 UTC) #20
chcunningham
lgtm
4 years, 3 months ago (2016-09-01 16:46:47 UTC) #23
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/2269313002/40001
4 years, 3 months ago (2016-09-01 22:23:16 UTC) #26
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 3 months ago (2016-09-01 23:54:00 UTC) #28
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/5f450aa795c85f615ccaed457f3114c487df7ac4 Cr-Commit-Position: refs/heads/master@{#416131}
4 years, 3 months ago (2016-09-01 23:57:44 UTC) #30
servolk
4 years, 3 months ago (2016-09-02 18:23:08 UTC) #31
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:40001) has been created in
https://codereview.chromium.org/2310483002/ by servolk@chromium.org.

The reason for reverting is: The new test is crashing on Mac.

Powered by Google App Engine
This is Rietveld 408576698